Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
The following errors were found in the BIND configuration file /etc/bind/named.conf or referenced zone files ..
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.
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.
I configured it all in Webmin, which was fine until I rebooted the system.
This is my config file (named.conf.options):
Quote:
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
68.37.86.61;
};
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; };
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
auth-nxdomain no; # conform to RFC1035
listen-on { 68.37.86.61; };
};
When I check the error log I get these:
Quote:
zone imposinghosting.com/IN: NS 'ns2.imposinghosting.com' has no address records (A or AAAA)
zone imposinghosting.com/IN: not loaded due to errors.
_default/imposinghosting.com/IN: bad zone
zone admin.imposinghosting.com/IN: ns2.admin.imposinghosting.com/NS 'ns2.imposinghosting.com.admin.imposinghosting.com' has no address records (A or AAAA)
I am trying to fix up the last error now. I will report back soon. Ideas?
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.