Click to See Complete Forum and Search --> : Bind DNS


thelinuxwarrior
12-16-2000, 03:40 PM
I'm working on getting a Bind DNS server set up.

So far it's working great. The problem I have is a small nagging one.

When I do an nslookup domainname.com, the server returns the correct value for the IP, but it doesn't seem to know it's own server name, even though I've confirgured the host file for both the internal address and the valid external address.

Anyone have any ideas? Email me please.

bdl
12-17-2000, 12:14 AM
Ok so if you run nslookup, you can get a name resolved outside your own network, but not an internal name, correct? How do you have dns setup? Do you serve dns for your own machines or just run a 'caching server' for root domains? Nslookup is not going to resolve a local name unless you are actually serving that machine. Please provide a little more insight and well get you setup.
Another thought: which server do you have listed under /etc/resolv.conf? If your external server is listed, tools like nslookup and dig will ONLY use that external dns server, therefore not allowing you to lookup local names...

[This message has been edited by bdl (edited 16 December 2000).]