Command to find DNS name on W2K Server?

Soldato
Joined
11 Jun 2004
Posts
4,222
Location
Middlesex, London
Morning all,

Quick question pls...

If I'm on a Windows 2000 Server... what is the command for me to find the DNS Name / Alias of that server?

...or is there any other way of finding this?

Thanks
 
Open a Command prompt type nslookup and then the IP address of the server you want to find the DNS name of.

Assuming you know the IP address that is...
 
Last edited:
Thanks... but this is not giving me what I want.

that command gives me the host name and the name of the actual DNS Server...

Anything else I could try?
 
When you run nslookup where it says "Name" just above the address you entered, that is the DNS name of the server for the IP you entered.

If you have access to your DNS server you could always just go look at the DNS record for the machine you want to find the DNS name of...
 
Last edited:
The Alias and DNS name "should" be the same unless the name is longer than 15 digits as Netbios (which is what I assume you mean by Alias) can't cope with names longer than 15 digits but DNS can*.

*I think... :D

Hope this has been of some help.
 
marc2003 said:
right click my computer, properties, identification? that should contain the netbios/dns info that particular machine. :)

Which is the same information you get from doing nslookup so I'm not sure thats what he is after, in fact I am a little confused as to what he want he is after... :confused:
 
I assume you don't mean "Quantum Information Processing"? :D

Do you mean the instant message type program thingy?
 
No... i haven't been able to find it...

Apparently there is no real command.... it's the DNS Alias that I was trying to find..
 
Can you explain exactly what a "DNS Alias" of a server is, perhaps where you're seeing it? DNS internally handles "aliases" through the use of CNAME resource records. You can use nslookup to query the DNS server for CNAME records, perhaps.
 
Virdi said:
No... i haven't been able to find it...

Apparently there is no real command.... it's the DNS Alias that I was trying to find..

But the DNS alias is the DNS name that nslookup and looking at the computer description gives you as we told you above. :confused:

For instance lets say you have a PC or Server on your network and its name is "Server1" and your domain is Mcd.co.uk then the full DNS name (and Alias) of that PC/server is going to be "Server1.Mcd.co.uk".

Does that help at all?

Or am I just really confused :confused:

:)
 
Virdi said:
Morning all,

Quick question pls...

If I'm on a Windows 2000 Server... what is the command for me to find the DNS Name / Alias of that server?

...or is there any other way of finding this?

Thanks

Do you mean the HOSTNAME command that you can run from the command prompt??
 
Back
Top Bottom