Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2006 07:22:18 -0900
From:      Beech Rintoul <freebsd@alaskaparadise.com>
To:        freebsd-questions@freebsd.org
Subject:   DNS Slave zone problems
Message-ID:  <200612210722.34306.freebsd@alaskaparadise.com>

next in thread | raw e-mail | index | archive | help
--nextPart4525022.aU8kfJNQtn
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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

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

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

In my slave named config I have:

zone "foo.com" {
	type slave;
        masters {=20
                24.237.XXX.XX;=20
                };
	file "/etc/namedb/foo.com.hosts";
	};
zone "bar.com" {
	type slave;
        masters {=20
                24.237.XXX.XX;=20
                };
	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 hav=
e a=20
suggestion?

Beech


=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@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
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart4525022.aU8kfJNQtn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD4DBQBFirTJR5sEeCt9j00RAk0qAJ9vKmIxjnYR131P9S5kPYJD484LDACYyF9z
I12vwUHHDsH/0Jqlb3lGxQ==
=01F5
-----END PGP SIGNATURE-----

--nextPart4525022.aU8kfJNQtn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612210722.34306.freebsd>