From owner-freebsd-questions Tue Oct 23 2:22:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id DAB1D37B401 for ; Tue, 23 Oct 2001 02:22:24 -0700 (PDT) Received: from hades.hell.gr (patr530-b050.otenet.gr [195.167.121.178]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f9N9MJO17290; Tue, 23 Oct 2001 12:22:20 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f9N32QT16083; Tue, 23 Oct 2001 06:02:26 +0300 (EEST) (envelope-from charon@labs.gr) Date: Tue, 23 Oct 2001 06:02:26 +0300 From: Giorgos Keramidas To: Tor Stormwall Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail and named! Message-ID: <20011023060225.B15848@hades.hell.gr> References: <5.1.0.14.0.20011021121920.031dae50@mail.Go2France.com> <3BD43F47.F288BD71@stormwall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BD43F47.F288BD71@stormwall.org> User-Agent: Mutt/1.3.22.1i X-GPG-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-URL: http://labs.gr/~charon/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 22, 2001 at 05:46:15PM +0200, Tor Stormwall wrote: > Len Conrad wrote: > > named.root is kinda quaint. Since the file conains a "referral", and it's > > part of the DNS database, I like or db.roothint > > where can I find this file? % ls -l /usr/src/etc/namedb/named.root -rw-r--r-- 1 root wheel - 2843 Sep 13 1999 /usr/src/etc/namedb/named.root > > same database filename convention here, db.127.0.0 > > > > >zone "myhome.my" { > > > type master; > > > file "db.myhome.my"; > > >}; > > should I change db.myhome.my to bd.127.0.0? Not really, the filenames you choose are more a matter of personal taste and style. Bind does not really care about the names. It does get angry if the files do not exist though, or have syntax errors. > Oct 22 17:37:38 bossen named[848]: Ready to answer queries. > Oct 22 17:37:42 bossen named[850]: starting (/etc/namedb/named.conf). named 8.2.4-REL Tue Sep 18 09:51:38 PDT 2001 murray@builder.FreeBSD.org:/usr/obj/usr/src/usr.sbin/named > Oct 22 17:37:42 bossen named[850]: limit files set to fdlimit (1024) > Oct 22 17:37:42 bossen named[850]: /etc/namedb/named.conf:1: no options statement before first zone; using previous/default Bind tried to read your named.conf looking for an `options' statement, but it failed to find one, or the one you have had syntax errors and named ignored it. > Oct 22 17:37:42 bossen named[850]: db_load could not open: named.root: No such file or directory You don't have a file called "named.root" in /etc/namedb. > Oct 22 17:37:42 bossen named[850]: db_load could not open: localhost.rev: No such file or directory You don't have a file called "localhost.rev" in /etc/namedb. > Oct 22 17:37:42 bossen named[850]: db_load could not open: db.myhome.my: No such file or directory You don't have a file called "db.myhome.my" in /etc/namedb. > Oct 22 17:37:42 bossen named[850]: db_load could not open: myhome-reverse: No such file or directory You don't have a file called "myhome-reverse" in /etc/namedb. > Oct 22 17:37:42 bossen named[850]: db_load could not open: named.root: No such file or directory You don't have a file called "named.root" in /etc/namedb. > Oct 22 17:37:42 bossen named[851]: Ready to answer queries. > According these errors there is missing some files but I've > got them, dont see whats the problem. If you do have these files in /etc/namedb check the permissions and owner of these files. Although I fear that you have them, but not in the right place. You should probably get a nice book on setting up named, or read carefully the documentation at /usr/share/doc/bind/html. Bind is a nice beast but it takes care and patience when feeding it. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message