master2slave

Nivko

Verified User
Joined
Jul 29, 2007
Messages
47
Location
The Netherlands
Hi People,

On my dedicated server i'm running the primary dns server, he syncs with my VPS which runs as secundary dns server (master2slave script on this forum), he transfer the whole named.conf (with all my DirectAdmin domains in it) but in /var/named/slaves/namedftp/xxx.xxx.xxx.xxx/ are no zones, i wrote in named.conf in the DirectAdmin server (primary) in my own domain allow_transfer vpsip; and restarted bind, but still no zones after a reload on the vps, does anybody know this problem?

Regards, Niels.
 
Fixed, the permissions were wrong. I use this to fix it:

Code:
chmod -R 755 /var/named
usermod -g named namedftp
chgrp -R named /var/named
chown -R named:namedftp /var/named
 
Fixed, the permissions were wrong.
I did a master2slave install last night and found the same problem; I think that a recent update to BIND may have changed default permissions. The next time I do an install I'll rewrite the instructions.

Jeff
 
Back
Top