Date: Tue, 23 Oct 2001 06:02:26 +0300 From: Giorgos Keramidas <charon@labs.gr> To: Tor Stormwall <tor@stormwall.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail and named! Message-ID: <20011023060225.B15848@hades.hell.gr> In-Reply-To: <3BD43F47.F288BD71@stormwall.org> References: <5.1.0.14.0.20011021121920.031dae50@mail.Go2France.com> <3BD43F47.F288BD71@stormwall.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011023060225.B15848>
