bind : zone file not found

sid s.i.d at free.fr
Fri Feb 13 13:48:05 UTC 2004


You're right :

I add in  named.conf:

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

and now messages are errors I made in my zone file.

So we don't have to use redhat-config bind gui to configure bind.
And we don't have to use named.custom.

I have badly to understand the role of options {

thank you for your patient,
i have to learn more about bind

Jean-François DUMONT



-----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