Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS hostname resolution

Status
Not open for further replies.

nsglists

IS-IT--Management
Jul 20, 2006
57
US
I have setup a DNS on Windows 2000 SP4. This is just a stand-alone server, not part of any domain. This is meant only to resolve addresses on the local LAN. Machines are able to resolve the FQDN of machines in the zone file as well as as outside domains such as google.com.

Now, I wanted to resolve only the hostnames as it shows in the zone file, but am unable to do it. For example,
nslookup hostname.domain.com
resolves fine, but
nslookup hostname
does not resolve and reports a "server not found"

How can I achieve this??

Of course, I can always,
- set the primary DNS suffix on each client. This will work, but what if the client is part of another internal, non-routable network?
- or do it on the DHCP server by adding to the DHCP response

But I am looking for another option which can be set on the DNS server itself.
Or should I setup a WINS server as well?

Please advice.
Thanks.
 
I am sorry, can anybody provide any pointers at all regarding the third option to be set on the server. Would be grateful even if it says "stupid thought".
Thanks.
 
When I do an NSLOOKUP on a just {servername} I get:
dnsservername.domain.com
ip address

hostname.domain.com
ip address

I can run nslookup on just a hostname. However, my DNS server is part of the domain and the zone is Active Directory Integrated. Maybe that has something to do with it. So you're saying that if you do nslookup {servname} you get an error?

Is your zone Active Directory integrtated?
 
Yup, I get a server not found when I do a,
nslookup hostname

My DNS it is not AD integrated, it is a stand-alone server.

Do you do the nslookup from a client that is part of the domain OR
a client which only points to the DNS server and is not part of the domain?

Thanks.
 
You need to set the DNS suffix on the client, you can push this out via DHCP as well.
 
Do you do the nslookup from a client that is part of the domain OR
a client which only points to the DNS server and is not part of the domain?
I did this from a workstation that is part of the domain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top