Solved

Resolve Hostname to IP address in local domain

Posted on 2009-04-07
2
2,329 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
2 Comments
 
LVL 26

Expert Comment

by:jar3817
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now