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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nslookup on fully qualified domain name only

Status
Not open for further replies.

inforeqd

Technical User
Jan 8, 2001
95
US
Just setup bind 9.8.1-P1 server. Have it resolving locally (on the server) when putting in just hostname. But when trying to lookup just the hostname from a remote host I must put in my fully qualified domain name of the host before getting back responses.

ex. from dns server
nslookup host1
returns proper answer

from remote host
nslookup host1
doesn't return answer

nslookup host.domain.com
returns proper answer

Any suggestions on what to look at. Nothing is appearing in the logs.

Additional info. Its a redhat 6 box and the bind was compiled from source with no errors.

Thanks in advance
 
I figured this one out on my own. But if there is something else that I need to know please do tell me. It turns out on my remote host I had the resolv.conf set wrong. When I changed it to read
search domain.com vs search domain1.domain.com it worked.

So I am going to say the dns server is setup and running correctly and its a client issue. Is that the right diagnosis??

Thanks
 
Per my understanding, yes, your analysis is correct. The search domains parameter in your resolver is used to append the domain information when attempting to resolve a host name only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top