?
Solved

Resolve Hostname to IP address in local domain

Posted on 2009-04-07
2
Medium Priority
?
2,366 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 150 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

764 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