View Single Post
  #2  
Old 25th May 2006, 06:58
mxc mxc is offline
Member
 
Join Date: May 2006
Location: South Africa
Posts: 91
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via Skype™ to mxc
Default

Ok -- I find a post about adding notify and allow-transfer directives to the /root/ispconfig/isp/conf/named.conf.master file but this didnt work.

It turned out to be a files permission problem. To over come this I did the following to the /root/ispconfig/isp/conf/named.conf.master file. This is near the bottom

<!-- BEGIN DYNAMIC BLOCK: named_slave -->
zone "{DOMAIN}" {
type slave;
file "slaves/sec.{DOMAIN}"; #!******************** this line used to be file "sec.{DOMAIN}";
masters { {MASTERS}; };
};
<!-- END DYNAMIC BLOCK: named_slave -->

Basically the slave domains need a directory with write permissions. The slave directory under /var/named/slaves is setup with the right permissions so just change the template to refer to this directory and everything works great!

I dont know if I still need the

allow-transfer directives and notify directives as it seemed that the slave was getting updates from the beginning and just had filesystem permission errors. I am pretty sure I could leave them out but they arent doing any harm
Reply With Quote