IP Address to Hostname Conversion

  • Thread starter Thread starter Tim Smith
  • Start date Start date
T

Tim Smith

I have a list of IP Address in my domain that I need to
convert to Host Names. I there a tool that will convert a
list of ip address to hostnames?

Tim
 
How many IPs are you talking about? You could script it with nslookup or
dig. Ping also has the "-a" switch.
 
I don't understand exactly what you are asking.

Are you asking about finding a mapping between existing IP addresses and
existing host names? Or are you asking about creating a list of IP
addresses not already in use and programmatically creating a list of host
names to go with each IP address?

If it's the first question, ever heard of DNS A records? If it's the second
question you might be better served to ask your question in the
microsoft.public.windows.server.scripting newsgroup. There are some people
there who are really sharp at scripting. Someone there may already have
published a script that does exactly that.
 
Oops. Sorry, may have misunderstood a part of your situation. You still may
be better off at the scripting newsgroup though. Someone may have a script
there that can pull IP addresses and hostnames from individual hosts on a
network that will provide you with a mapping of all IP addresses and
hostnames.
 
Back
Top