Solved

Resolve Hostname to IP address in local domain

Posted on 2009-04-07
2
2,361 Views
Last Modified: 2012-05-06
I am attempting to resolve a hostname to a valid IP address in the LAN.
0
Comment
Question by:thelight22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 24090407
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
 
LVL 8

Accepted Solution

by:
joefreedom earned 50 total points
ID: 24090465
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

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question