[BIND] db_load problem for a RR

Joe Kattner joe.kattner at adelphia.com
Tue Sep 18 15:55:07 UTC 2001


You specify the directory in which they belong. Most people use /var/named,
but it can be elsewhere. Check the named.conf, options section for the
'directory' statement. This is where named will look for zone files. If you
don't have a directory statement, then you should make one and put all
you're zone files there.

Then look at the zones and their file statements. What is there is the
actual file name for that zone. If a directory is specified in addition to
the file name, named will use that.

options {
	directory "/var/named";
	.....
};

zone "test.lan" {
	.....
	file "test.lan";
};
# Only file name specified, named will use /var/named/test.lan for this zone
file.

zone "workstations.test.lan" {
	.....
	file "sub/workstations.test.lan";
};
# directory and file name specified, named will use
/var/named/sub/workstations.test.lan for this zone file.
# Uses the default '/var/named', then relative to that, adds 'subs'
directory for the zone file.

--Joe

-----Original Message-----
From: KMoussavi [mailto:KMoussavi at PEC.com]
Sent: Tuesday, September 18, 2001 8:35 AM
To: 'Roy Arends'
Cc: Bind-Users (E-mail)
Subject: RE: [BIND] db_load problem for a RR


Roy,

The files are in the same directory as "named.conf".

Regards,

Keyvan

-----Original Message-----
From: Roy Arends [mailto:Roy.Arends at nominum.com]
Sent: Monday, September 17, 2001 5:04 PM
To: KMoussavi
Cc: Bind-Users (E-mail)
Subject: Re: [BIND] db_load problem for a RR


On Mon, 17 Sep 2001, KMoussavi wrote:

> Hello Folks,
>
> We were having a DNS problem on one of our servers today and I noticed the
> following message in "/var/adm/messages":
>
> #####################
> Sep 17 13:22:04 proxy2.xxx.xxx.xxx named[118]: db_load could not open:
> db.abc.def: No such file or directory
> Sep 17 13:22:04 proxy2.xxx.xxx.xxx named[118]: db_load could not open:
> db.cache: No such file or directory
> #####################
>
> The following files do exist but why am I getting these errors?
>
> Thank you for your assistance.
>
> Keyvan

Are the files in the proper directory ?

Roy Arends
Nominum
-------------
0-14-023750-X dcrpt ths 43.0D.01 01.05.0C 84.18.03 8A.13.04 2D.0B.0A





More information about the bind-users mailing list