Bind9 Errors after reboot.
Hello! My name is Jacob and I recently just setup my DNS servers. Last night, I successfully setup my two DNS servers, but then I shutdown the Ubuntu Lucid(1) and turned it back on today. I tried to start BIND9 from command line, like usual, but it failed. I then went into webmin and found out my problem:
Quote:
1: Distributor ID: Ubuntu Description: Ubuntu 10.04.4 LTS Release: 10.04 Codename: lucid |
If you open the file /etc/bind/named.conf.options with your favorite editor (e.g. vim, nano or emacs) what does it have a line 19? Do you see the IP it complains about at that line or just above or below it?
It seems to be saying you put an option in with that IP that isn't valid. Perhaps you meant to have it as part of another line but it ended up on its own line by accident? Without seeing the options file its hard to guess. |
Quote:
This is my config file (named.conf.options): Quote:
Thanks! |
I don't use Webmin so can't tell why/how it messed it up but the error is complaining about this line:
68.37.86.61; All by itself on a line in options an IP address or range has no meaning. You can resolve the error you saw by commenting out that line. Also the address above is an IPV4 format address so it wouldn't be related to listen-on-v6 statement. (You're specifying "any" for that which means any interface that is IPV6.) It may be you intended to put in a standard listen-on in format: listen-on { 68.37.86.61; }; |
This is my new config file:
Quote:
When I check the error log I get these: Quote:
|
EDIT! I think I fixed it! I just added ns2.imposinghosting.com to the Address list with my IP and it started up fine. I need to wait about an hour for it to catch up; I will report back soon!
|
Erm. Now my nameservers won't resolve to anything. It is like they aren't even there...
|
All times are GMT -5. The time now is 12:05 PM. |