From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 13:02:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2337E37B401 for ; Tue, 1 Apr 2003 13:02:01 -0800 (PST) Received: from devil.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CF6243F75 for ; Tue, 1 Apr 2003 13:02:00 -0800 (PST) (envelope-from pinhead@stderror.at) Received: by devil.stderror.at (Postfix, from userid 1000) id A8E49171EF; Tue, 1 Apr 2003 23:01:59 +0200 (CEST) Date: Tue, 1 Apr 2003 23:01:59 +0200 From: Toni Schmidbauer To: freebsd-questions@freebsd.org Message-ID: <20030401210159.GA10973@devil.stderror.at> Mail-Followup-To: freebsd-questions@freebsd.org References: <20030401180954.GD10095@devil.stderror.at> <20030401185320.GF10095@devil.stderror.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: problem with DNS resolving X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 21:02:01 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 01, 2003 at 10:17:52PM +0200, Marcel Stangenberger wrote: > It shows me the zonefile from my server so far so good, bind seems to be working. what command did your issue so that you think you can't resolve your zone entries localy? output of 'ifconfig -a' could be helpfull. you could also try running tcpump(1) while trying to resolve names. try sniffing on all interfaces, so you can tell where your name service queries are going to. i tried quering your nameserver for www.google.com but i didn't get any response so it seems your forwarding is not working. > i just added the lines you suggested but i got the following error : >=20 > Apr 1 22:14:20 moredhel named[673]: reloading nameserver > Apr 1 22:14:20 moredhel named[673]: /etc/namedb/named.conf:46: unknown > ACL 'trusted' bind is very touchy regarding the order of options. first you have to define the acl and afterwards you can use it in your options stanza, so: acl trusted { 127.0.0.1; 195.18.92.98; 195.18.103.140; 195.18.92.103; 195.18.109.250; }; options { directory "/etc/namedb"; =20 forward first; forwarders { 195.18.114.5; 195.18.115.5; }; =20 allow-transfer { trusted; }; }; is the correct order. > Apr 1 22:14:20 moredhel named[673]: db_load could not open: > named.root: no such file or directory your named.root file is also missing your can get one with the following command: 'dig @e.root-servers.net . ns > named.root' toni --=20 Behandle die Menschen, als w=E4ren sie, was sie sein | toni@stderror.at sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer sie sein k=F6nnen. - Johann Wolfgang von Goethe | --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+if5Hu/mjSj7RMocRArCdAJ9Fp0FvOQT/0QGVqRWqVnhP80UXyQCgh/Ic yDBL4qo2tn6O4JFPU+EbbA4= =zzci -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--