From RHEL to CentOS BIND 9
isplist at logicore.net
isplist at logicore.net
Wed Dec 5 15:04:06 UTC 2007
> - put your slave zone to ${chroot}/var/named/slaves directory. (should have
> "drwxrwx--- named named" by default)
Ok, let's see if I can give enough information in case it's something I am
missing.
# ls -la /var/named/
drwxr-x--- 5 root named 4096 Nov 10 09:22 .
drwxr-xr-x 19 root root 4096 Dec 3 16:45 ..
drwxr-x--- 6 root named 4096 Dec 3 20:04 chroot
drwxrwx--- 2 named named 4096 Nov 10 09:22 data
drwxrwx--- 2 named named 4096 Dec 5 08:59 slaves
# ls -la /var/named/chroot/
drwxr-x--- 2 root named 4096 Nov 10 09:22 dev
drwxr-x--- 2 root named 4096 Dec 4 23:43 etc
drwxr-xr-x 2 root root 4096 Dec 3 20:04 proc
drwxr-x--- 5 root named 4096 Mar 13 2003 var
# ls -la /var/named/chroot/var/
drwxr-x--- 5 root named 4096 Mar 13 2003 .
drwxr-x--- 6 root named 4096 Dec 3 20:04 ..
drwxr-x--- 4 root named 4096 Dec 4 15:09 named
drwxr-x--- 4 root named 4096 Dec 3 20:04 run
drwxrwx--- 2 named named 4096 Mar 13 2003 tmp
# ls -la /var/named/chroot/var/named/
-rw-r--r-- 1 root root 1413 Apr 24 2007 0
-rw-r--r-- 1 root root 1583 Oct 19 14:01 xx.xx.xx.in-addr.arpa
-rw-r--r-- 1 root root 230 May 25 2007 xx.in-addr.arpa
drwxrwx--- 2 named named 4096 Aug 25 2004 data
-rw-r--r-- 1 root root 621 Dec 4 14:29 xxx.net
-r--r--r-- 1 root root 405 Aug 15 2006 localhost.rev
-r--r--r-- 1 root root 284 Jun 15 2001 make-localhost
-r--r--r-- 1 root root 0 Apr 30 2006 xxx.com.lock
-rw-r--r-- 1 root root 2516 Dec 4 15:09 named.root
-r--r--r-- 1 root root 0 Apr 30 2006 xxx.com.lock
-r--r--r-- 1 root root 397 Aug 12 2002 PROTO.localhost.rev
-rw-r--r-- 1 root root 698 Apr 24 2007 xxx.com
drwxrwx--- 2 named named 4096 Dec 5 08:59 slaves
The rest of the zones are in the zones directory. I am trying to move from one
DNS server to the other, then this new one will become the primary and then I
will be setting up a secondary.
Should I be making this machine a secondary right off the bat since it's going
to actually be taking over from my old primary?
> - if you have SELinux enabled run "restorecon -R
> ${chroot}/{dev,etc,var}"
SELinux is disabled.
I'm sorry about the confusion but I've become terribly confused over the past
couple days :).
Mike
More information about the bind-users
mailing list