bind : zone file not found

sid s.i.d at free.fr
Fri Feb 13 13:15:44 UTC 2004


This a copy of named.con and named.custom.


----------------------------------------------------------------------
#Here my named.conf#
----------------------------------------------------------------------
one "sid.local" { 
	type master;
	file "sid.local.zone";
};
zone "0.168.192.in-addr.arpa" { 
	type master;
	file "0.168.192.in-addr.arpa.zone";
};
zone "0.0.127.in-addr.arpa" { 
	type master;
	file "0.0.127.in-addr.arpa.zone";
};
zone "localhost" { 
	type master;
	file "localhost.zone";
};
----------------------------------------------------------------------
#named.custom#
----------------------------------------------------------------------
# Any changes not currently supported by redhat-config-bind should be
put 
# in this file.
#

zone  "." { 
	type hint; 
	file  "named.ca";
};

---------------------------------------------------------

I try in named.custom to add :

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

or  directory "/var/named"

I will try this in named.conf


Jean-François



-----Message d'origine-----
De : fedora-list-admin at redhat.com [mailto:fedora-list-admin at redhat.com]
De la part de Christopher K. Johnson
Envoyé : vendredi 13 février 2004 13:36
À : fedora-list at redhat.com
Objet : Re: RE : RE : RE : bind : zone file not found

sid wrote:

>Ok but with :
>named -u named -t /var/named/chroot
>
>I don't need named.custom only if i want to customize bind, but i want
>only make it works, make it load my zone file.
>My probleme is : 
>zone sid.local/IN: loading master file sid.local.zone: file not found
>
>My DNS don't work
>My zone file are in /var/named/chroot/var/named/    :Right?
>My named.conf ivs in /var/named/chroot/etc/		:right?
>
>
>I steel don't know what's wrong.
>
>Jean-François
>  
>
Right.
But the named.conf file you pasted into an earlier email had no 
"options" to specify /var/named as a base directory.  Consequently the 
"file" settings for zone files without any path cause bind to look for 
them in /var/named/chroot/ which is not where they are, and you get 
"file not found" errors.

I think from your reply that you added an "options" entry in 
/var/named/chroot/etc/named.custom, but we have not confirmed that 
/var/named/chroot/etc/named.conf is including that file.

Please attach /var/named/chroot/etc/named.conf and 
/var/named/chroot/etc/named.custom to a reply.

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021



-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





More information about the fedora-list mailing list