PDA

View Full Version : Bind9 Slave to Win2K DNS Server


chris_knowles
21st September 2006, 16:12
I have Bind9 up and running and i think i have configured my files correctly but i will not transfer the zone files from windows. In the event log in windows, it says that the file has been successfully copied across, but there is nothing in the /var/lib/named/etc/bind/zones folder and therefore the slave server can't see it.


zone "domain.co.uk" {
type slave;
file "/etc/bind/zones/domain.co.uk";
masters { 194.xxx.xxx.xxx; };
};


This is in my named.config.local file.

Please can someone tell me what i am doing wrong?

Thanks

Chris

falko
22nd September 2006, 14:09
Are there any errors in your logs?

chris_knowles
22nd September 2006, 15:44
i can't find any logs, i followed the instructions on how to set this up from this website, apart from the encrypted transfer of zones as that will confuse things with Windows i think. I thought i had set up the syslog as suggested but there is a log file there but it is 0 size.

falko
23rd September 2006, 17:04
Usually the log files are in the /var/log directory.

chris_knowles
26th September 2006, 12:07
I have found some log files:


Sep 26 10:00:12 dns2 named[1525]: transfer of 'domain.co.uk/IN' from 194.xxx.xxx.xxx#53: failed while receiving responses: permission denied
Sep 26 10:00:12 dns2 named[1525]: transfer of 'domain.co.uk/IN' from 194.xxx.xxx.xxx#53: end of transfer


Where do i need to set the permissions to get this to work?

Thanks

falko
27th September 2006, 21:20
What's in your /etc/named.conf? Which distribution do you use?