From RHEL to CentOS BIND 9

Kirk Bradel kirkb at kirkb.net
Wed Dec 5 18:32:39 UTC 2007


isplist at logicore.net wrote:
>> Copy the zones from your RHEL primary to /var/named/chroot/etc/xxx,
>> where 'xxx' is the "directory" in global options.
> 
> Done.
>  
>> Take the RHEL primary offline, assign it's IP to the CentOS box, and
>> boom -- you should have a working BIND master.  Remember that if you
>> want to log within a chroot, you will need to start syslogd with the -a
>> flag (check /etc/sysconfig/syslog, and make the change here).
> 
> Turned off primary, changed IP on new server, rebooted.
> 
> Try to start named;
> 
> # /etc/init.d/named start
> Starting named:
> Error in named configuration:
> zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 2006081501
> zone xxx.com/IN: loading master file xxx.com: file not found
> _default/xxx.com/IN: file not found
> zone xx.in-addr.arpa/IN: loaded serial 2006081501
> zone xxxx.net/IN: loaded serial 1192810548
> zone xxxxx.com/IN: loaded serial 1194741461
> zone xx.xx.xx.in-addr.arpa/IN: loaded serial 2007042428
> 
> And, /var/log/messages;
> Dec  5 11:53:33 ns1 named: zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 
> 2006081501
> Dec  5 11:53:33 ns1 named: zone xxx.com/IN: loading master file xxx.com: file 
> not found
> Dec  5 11:53:33 ns1 named: _default/xxx.com/IN: file not found
> Dec  5 11:53:33 ns1 named: zone xx.in-addr.arpa/IN: loaded serial 2006081501
> Dec  5 11:53:33 ns1 named: zone xxxx.net/IN: loaded serial 1192810548
> Dec  5 11:53:33 ns1 named: zone xxxxx.com/IN: loaded serial 1194741461
> Dec  5 11:53:33 ns1 named: zone xx.xx.xx.in-addr.arpa/IN: loaded serial 
> 2007042428
> 
> 
> 
> So here's the rub. This is the exact configuration from the running machine. 
> So, what's changed and why does it think these files are problems?
> 
> Mike
> 
> 

Mike,

What rpm / rpm's did you install.
Can you please post the contents of named.conf
Can you please post the contents of /etc/sysconfig/named



More information about the bind-users mailing list