DNS with bind9 on Debian: won't resolve (zone file error?)
Hello,
I'm trying to configure a local dns server which would be responsible for resolving names inside the local network. I have followed the howto here and managed to get bind9 up and running; the name resolution won't work though. Seems to me there are mistakes in the zone file. The file in question: Code:
$TTL 604800 Code:
[tech@server]$ nslookup machine-mother Thanks, rrije. |
Hi,
You need to add either one of the following in /etc/resolv.conf, if you want to be able to resolve hosts without giving the FQDN Code:
domain homeworld.local So add: Code:
nexus IN A 192.168.0.10 Regards |
Thanks for the reply,
Seems it really was the missing "domain" parameter in the resolv.conf. If someone needs it, here is the working configuration -- resolv.conf: Code:
domain homeworld.local Code:
$TTL 604800 Anyway, thanks again. Sincerely yours, rrije. |
Glad to see it worked.
As a side note, better use only one of the domain or search options in resolv.conf. From the resolv.conf manpage: Quote:
|
All times are GMT -5. The time now is 07:33 PM. |