I have a server that was originally set up as a slave server, but it now needs to be a master server. What is the easiest way to do this? The NOC recommended simply removing the master dns server in the &Edit Setup& section, but now I am getting ndc connection refused messages when making any DNS changes. I ran the following commands to track down the problem:
ndc reload
tail /var/log/messages
And got this back:
----------------------------------------------------
Sep 9 15:39:40 encrypt named[2947]: using 1 CPU
Sep 9 15:39:40 encrypt named[2950]: loading configuration from '/etc/named.conf'
Sep 9 15:39:40 encrypt named[2950]: /etc/named.conf:34: option 'allow-update' is not allowed in 'slave' zone '0.0.127.in-addr.arpa'
Sep 9 15:39:40 encrypt named[2950]: /etc/named.conf:226: option 'allow-update' is not allowed in 'slave' zone 'localhost'
Sep 9 15:39:40 encrypt named[2950]: loading configuration: failure
Sep 9 15:39:40 encrypt named[2950]: exiting (due to fatal error)
Sep 9 15:39:40 encrypt named: named startup failed
Sep 9 15:40:49 encrypt proftpd[2633]: encrypt.safetyforlife.com (localhost[127.0.0.1]) - FTP login timed out, disconnected.
Sep 9 15:44:22 encrypt proftpd[2822]: encrypt.safetyforlife.com (localhost[127.0.0.1]) - FTP login timed out, disconnected.
Sep 9 15:46:52 encrypt sshd(pam_unix)[3073]: session opened for user root by (uid=0)
----------------------------------------------------------------
any help appreciated.
( I also tried making a backup of named.conf and removing all accounts that were on the master server and changing the localhost zone back to master, to no avail.)
ndc reload
tail /var/log/messages
And got this back:
----------------------------------------------------
Sep 9 15:39:40 encrypt named[2947]: using 1 CPU
Sep 9 15:39:40 encrypt named[2950]: loading configuration from '/etc/named.conf'
Sep 9 15:39:40 encrypt named[2950]: /etc/named.conf:34: option 'allow-update' is not allowed in 'slave' zone '0.0.127.in-addr.arpa'
Sep 9 15:39:40 encrypt named[2950]: /etc/named.conf:226: option 'allow-update' is not allowed in 'slave' zone 'localhost'
Sep 9 15:39:40 encrypt named[2950]: loading configuration: failure
Sep 9 15:39:40 encrypt named[2950]: exiting (due to fatal error)
Sep 9 15:39:40 encrypt named: named startup failed
Sep 9 15:40:49 encrypt proftpd[2633]: encrypt.safetyforlife.com (localhost[127.0.0.1]) - FTP login timed out, disconnected.
Sep 9 15:44:22 encrypt proftpd[2822]: encrypt.safetyforlife.com (localhost[127.0.0.1]) - FTP login timed out, disconnected.
Sep 9 15:46:52 encrypt sshd(pam_unix)[3073]: session opened for user root by (uid=0)
----------------------------------------------------------------
any help appreciated.
( I also tried making a backup of named.conf and removing all accounts that were on the master server and changing the localhost zone back to master, to no avail.)