Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I just ran a yum update that bumped BIND up to version 30:9.3.4-10.P1.el5_3.1 and immediately afterwards I noticed BIND wasn't working anymore. I tried starting/restarting it but it keeps failing without really giving an error.
Code:
[root@ns1 run]# service named start
Starting named:
Error in named configuration:
zone xxx.com/IN: loaded serial 2009051401
zone xxx.com/IN: loaded serial 2009061500
zone xxx.net/IN: loaded serial 2009051301
zone xxx.com/IN: loaded serial 2009051400
zone xxx.com/IN: loaded serial 2009051401
zone xxx.com/IN: loaded serial 2009051400
zone xxx.com/IN: loaded serial 2009051400
zone xxx.net/IN: loaded serial 2009051400
zone xxx.com/IN: loaded serial 2009051401
zone xxx.com/IN: loaded serial 2009051401
zone xxx.net/IN: loaded serial 2009051401
zone xxx.org/IN: loaded serial 2009051401
dns_master_load: xxx.org.db:25: mail.xxx.org: CNAME and other data
zone xxx.org/IN: loading master file xxx.org.db: CNAME and other data
_default/xxx.org/IN: CNAME and other data
zone xxx.ca/IN: loaded serial 2009051502
zone xxx.ca/IN: loaded serial 2009051401
zone xxx.ca/IN: loaded serial 2009051400
zone xxx.ca/IN: loaded serial 2009051300
zone xxx.ca/IN: loaded serial 2009051401
zone xxx.ca/IN: loaded serial 2009051400
zone xxx.ca/IN: loaded serial 2009051400
zone xxx.ca/IN: loaded serial 2009051400
zone xxx.ca/IN: loaded serial 2009051400
[FAILED]
When I run: named-checkconf /etc/named.conf I get no errors. What's the deal..? :S
zone xxx.com/IN: loaded serial 2009051401
zone xxx.com/IN: loaded serial 2009061500
...
How comes a zone is loaded with 2 different serials? Or they are different zones?
And the "-z" option in named-checkconf and If you're running named chrooted use this:
First you must review your installation, to see if bind runs chrooted. Usually it does.
Then you should replace /path/to/chroot/named with the actual chroot path. If you don't know it, check the named startup file.
If it isn't running chrooted use just "named-checkconf -z"
The zone file you've posted does not have any CNAME. The offending zone file is xxx.org.db according to your 1st post. I guess you have used a CNAME without an A record for the real hostname.
Anyway the named-checkzone command is used like this:
The zone file you've posted does not have any CNAME. The offending zone file is xxx.org.db according to your 1st post. I guess you have used a CNAME without an A record for the real hostname.
Anyway the named-checkzone command is used like this:
[root@ns1 ~]# named-checkzone -d -D xxx.org /var/named/xxx.org.db
loading "xxx.org" from "/var/named/xxx.org.db" class "IN"
dns_master_load: /var/named/xxx.org.db:25: mail.xxx.org: CNAME and other data
zone xxx.org/IN: loading master file /var/named/xxx.org.db: CNAME and other data
Are you sure this is the actual problem? The version of BIND I was running before had no qualms with my configuration at all and this update was a very small version increase..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.