DNS Slave zone problems

Beech Rintoul freebsd at alaskaparadise.com
Thu Dec 21 08:47:29 PST 2006


I just set up one of my servers as a secondary dns. I put the proper ip 
address in the master zones allow transfers. The master is working properly 
because the other secondary (afraid.org) is able to x-fer. However I'm 
getting a lot of these messages on my secondary:

Dec 21 01:03:20 stargate named[43710]: dumping master 
file: /etc/namedb/tmp-wIEZCDuzlW: open: permission denied
Dec 21 01:03:20 stargate named[43710]: transfer of 'foo.com/IN' from 
24.237.XXX.XX#53: failed while receiving responses: permission denied

Dec 21 00:44:51 stargate named[43710]: dumping master 
file: /etc/namedb/tmp-wUerszKGyx: open: permission denied
Dec 21 00:44:51 stargate named[43710]: transfer of 'bar.info/IN' from 
24.237.XXX.XX#53: failed while receiving responses: permission denied

In my slave named config I have:

zone "foo.com" {
	type slave;
        masters { 
                24.237.XXX.XX; 
                };
	file "/etc/namedb/foo.com.hosts";
	};
zone "bar.com" {
	type slave;
        masters { 
                24.237.XXX.XX; 
                };
	file "/etc/namedb/bar.com.hosts";
	};

On my master named.conf I have:

zone "foo.com" {
        type master;
        file "/etc/namedb/foo.com.hosts";
        allow-transfer {
                202.157.185.115;
                202.157.182.142;
                66.252.1.255;
                65.74.XXX.XX;
                };
        also-notify {
                65.74.103.XXX.XX;
                };
        };
zone "bar.com" {
        type master;
        file "/etc/namedb/bar.com.hosts";
        allow-transfer {
                202.157.185.115;
                202.157.182.142;
                66.252.1.255;
                65.74.XXX.XX;
                };
        also-notify {
                65.74.XXX.XX;
                };
        };


I tried playing with file permissions, but it doesn't help. Does anyone have a 
suggestion?

Beech


-- 
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech at alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061221/63d6ddf8/attachment.pgp


More information about the freebsd-questions mailing list