tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: named in chroot



On Fri, Feb 22, 2002 at 02:47:08PM +0000, Patrick Welche wrote:
> Following Martti's note, I have a question about the other chrooted daemon..
> 
> Within /var/chroot/named /etc/mtree/NetBSD.dist sets etc/namedb to
> root:wheel and etc/namedb/cache to named:named. src/etc/namedb/named.conf
> has
> 
> options {
>         directory "/etc/namedb";
> };
> 
> as its example. Should it be /etc/namedb/cache? or maybe set etc/namedb to
> named:named?

6 years on... It seems we want to rmdir cache, and chown named:named
etc/namedb, chmod 775 etc/namedb? (i.e., edit etc/mtree/{NetBSD.dist,special})

On a related note, I was looking at bind 9.5 "empty zones", and was
surprised to find

     * 127.IN-ADDR.ARPA

in the list at /usr/share/doc/html/bind9/arm/Bv9ARM.ch06.html

This suggests that our named.conf wants to have

zone "1.0.0.127.in-addr.arpa" {
        type master;
        file "loopback.v6";
};

rather than

zone "127.IN-ADDR.ARPA" {
        type master;
        file "127";
};

and change the name of the loopback.v6 file to something less v6 specific
like loopback, or localhost-rev?

Thoughts?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index