Resolve Hostname to IP address in local domain

I am attempting to resolve a hostname to a valid IP address in the LAN.
thelight22Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
joefreedomConnect With a Mentor Commented:
Should you already have an environment setup that supports DNS, you can use windows command line utility to ping a hostname and it will resolve to an ip.  In the example below you can see that "hostname" was resolved to 10.1.10.1

To open windows command line:
Hit the (Windows Key) + (R) to bring up the "run" prompt.
Type "cmd" (no quotes) and hit OK.
C:\>ping hostname
 
Pinging hostname.domain.org [10.1.10.1] with 32 bytes of data:
 
Reply from 10.1.10.1: bytes=32 time<1ms TTL=128
Reply from 10.1.10.1: bytes=32 time<1ms TTL=128
Reply from 10.1.10.1: bytes=32 time<1ms TTL=128
Reply from 10.1.10.1: bytes=32 time<1ms TTL=128
 
Ping statistics for 10.1.10.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Open in new window

0
 
jar3817Commented:
You either need DNS setup on the lan that the clients use for resolving, or if we're only talking about a few computers, you can manually edit the hosts file on each machine.
0
All Courses

From novice to tech pro — start learning today.