Bind Not Starting after Update

cryptodan

Verified User
Joined
Oct 10, 2008
Messages
75
I just updated Bind via yum update, and now Named isnt starting up. I get the following:

Code:
[root@web1 etc]# /sbin/service named start
Starting named:
Error in named configuration:
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
zone web1.crasolutionsinc.com/IN: loaded serial 2008102201
zone crahosting.com/IN: loaded serial 2008101900
zone teamgardner.com/IN: loaded serial 2008101900
zone spufguys.com/IN: loaded serial 2008102006
dns_master_load: /var/named/cryptodan.com.db:32: webmail.cryptodan.com: CNAME and other data
zone cryptodan.com/IN: loading from master file /var/named/cryptodan.com.db failed: CNAME and other data
_default/cryptodan.com/IN: CNAME and other data
zone crasolutionsinc.com/IN: NS 'ns1.crasolutionsinc.com' has no address records (A or AAAA)
zone crasolutionsinc.com/IN: NS 'ns2.crasolutionsinc.com' has no address records (A or AAAA)
zone crasolutionsinc.com/IN: loaded serial 2008102200
                                                           [FAILED]
[root@web1 etc]#
 
Its kinda confusing on what it doesnt like. Are there any errors in /var/log/messages
 
Maybe your named.conf is messed up.

or possible

/var/named/cryptodan.com.db

is corrupt. If you want post them and we can see what is wrong.
 
It just now started to work, I was able to start and stop named multiple times. Totally weird.
 
You have webmail pointing to a CNAME and an A record you cant do that.
 
You have webmail pointing to a CNAME and an A record you cant do that.

this is my new one: http://pastebin.com/me55c39d

And i still get this error:

[root@web1 etc]# /usr/sbin/named-checkzone zonename /var/named/cryptodan.com.db
/var/named/cryptodan.com.db:9: ignoring out-of-zone data (cryptodan.com)
/var/named/cryptodan.com.db:10: ignoring out-of-zone data (cryptodan.com)
/var/named/cryptodan.com.db:12: ignoring out-of-zone data (cryptodan.com)
/var/named/cryptodan.com.db:15: ignoring out-of-zone data (cryptodan.com)
/var/named/cryptodan.com.db:22: ignoring out-of-zone data (cryptodan.com)
zone zonename/IN: has no NS records
 
You might want to try to create the A records for:

ns1.crasolutionsinc.com
and
ns2.crasolutionsinc.com

in the crasolutionsinc.com zone file.
 
I would try:

rndc reload

and then look in /var/log/messages for errors.
 
I think the proper syntax for named-checkzone is:

Code:
named-checkzone domain.com /var/named/domain.com.db

Where you replace domain.com with the actual domain you are checking.
 
You are still getting "ignoring out-of-zone data".

I would try:

rndc reload

and then look in /var/log/messages for errors.

I think the proper syntax for named-checkzone is:

Code:
named-checkzone domain.com /var/named/domain.com.db

Where you replace domain.com with the actual domain you are checking.

Followed all the advice, and it now works.
 
Back
Top