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

Name server only looks up local domains?

Status
Not open for further replies.

thelar222

Programmer
Apr 6, 2004
2
GB
Hi,

I'm having trouble with my dedicated server (RH9 running BIND 9.2.1).

Any attempt to lookup a remote domain from the server fails:
------------
[root@ns root]# nslookup -sil microsoft.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
*** Can't find microsoft.com: No answer
------------
Yet any lookup of local domains are fine:
------------
[root@ns root]# nslookup -sil valeit.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: valeit.com
Address: 217.199.172.103
-----------
It is definately a BIND problem because when I kill the named process domain lookups work fine.

Any help would be much appreciated.

Many thanks
Kev
 
what does your resolv.conf looks like ?
have you set a forwarders in your named.conf ?

 
raz,

Looks like it's sorted. I had an 'allow-recursion' directive set, with some IP addresses there when I should have just had 'recursion yes'.

All working now though! Thanks for you reply.

Kev
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top