From owner-freebsd-stable@FreeBSD.ORG Tue Jul 17 05:45:42 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12DE516A406 for ; Tue, 17 Jul 2007 05:45:42 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id B3EAB13C47E for ; Tue, 17 Jul 2007 05:45:40 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6H5SO29001389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Jul 2007 09:28:30 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6H5SNiL001388; Tue, 17 Jul 2007 09:28:23 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Tue, 17 Jul 2007 09:28:23 +0400 From: Yuri Pankov To: Michael Nottebrock Message-ID: <20070717052823.GA1277@darklight.org.ru> References: <200707162319.41724.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <200707162319.41724.lofi@freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Tue, 17 Jul 2007 09:28:30 +0400 (MSD) Cc: freebsd-stable@freebsd.org Subject: Re: Problems with named default configuration in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 05:45:42 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 16, 2007 at 11:19:41PM +0200, Michael Nottebrock wrote: > I finally updated my desktop from 5.5-RELEASE to 6-STABLE. This got me a = new=20 > named.conf, which I modified to run named as a local resolver, like I had= =20 > before: >=20 > listen-on { 127.0.0.1; }; > listen-on-v6 { ::1; }; > forward only; > forwarders { > 192.168.8.1; > }; >=20 > Everything else is default. However, with this default configuration, nam= ed=20 > will not resolve any hosts of my local domain (my.domain), which uses=20 > addresses in the 192.168.8 subnet. My dns server on 192.168.8.1, running= =20 > 6.2-RELEASE, has a very simple dynamic dns setup: a zone "my.domain" and = a=20 > reverse zone 8.168.192.in-addr.arpa which are both dynamically updated by= =20 > dhcpd. >=20 > To make this work again, I had to delete everything in the default named.= conf=20 > from "/* Slaving the following zones from the root [...]"=20 > to "zone "ip6.int" { type master;=20 > file "master/empty.db"; };". >=20 > I'm a DNS n00b, but I suspect that such drastic measures shouldn't be req= uired=20 > and somehow my setup is flawed. What can I do to make this work right? >=20 >=20 > Cheers, > --=20 > ,_, | Michael Nottebrock | lofi@freebsd.org > (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org > \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org Hi Michael, If I understood you correctly, you can't resolve 8.168.192.in-addr.arpa anymore, and the line below (from default named.conf) is the cause: zone "168.192.in-addr.arpa" { type master; file "master/empty.db"; }; Yuri --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGnFN3eoAklVFrLdgRAoocAKCc1JTvR+GgjSenOl9v2UducL8syQCeJvqJ uqPHxswM5VeqP9ht5+K4vhM= =rsRJ -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--