Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2005 00:17:30 +0100
From:      Emanuel Strobl <emanuel.strobl@gmx.net>
To:        freebsd-questions@freebsd.org
Cc:        kilim <kilim@phenix.rootshell.be>
Subject:   Re: DNS' bind 9 chrooted by default ?
Message-ID:  <200502120017.38796@harrymail>
In-Reply-To: <20050211222931.GA14659@phenix.rootshell.be>
References:  <20050211222931.GA14659@phenix.rootshell.be>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1392869.caFvKfZLNW
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Am Freitag, 11. Februar 2005 23:29 schrieb kilim:
> Hello,
>
> regarding Bind 9, here:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bind9.h=
tm
>l
>
> its stated that the configuration file resides in
> /var/named/etc/namedb/ and that bind will be chrooted automatically.
>
> Yet here:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
>
> steps are shown for manual chrooting of bind (not version 9)
>
> So I just want to confirm it with you guys, is bind 9.3 really
> chrooted by default on 5.3 ?

Yes it is, at least on my oldest 5.3-STABLE box, I don't have a 5.3-RELEASE=
=20
handy to verify.
Your configuration directory will still be /etc/namedb,=20
not /var/named/etc/namedb since, by default, the chroot environment gets au=
to=20
updated.
See these options for rc.conf for further details:
named_enable=3D"NO"               # Run named, the DNS server (or NO).
named_program=3D"/usr/sbin/named" # path to named, if you want a different =
one.
named_flags=3D"-u bind"           # Flags for named
named_pidfile=3D"/var/run/named/pid" # Must set this in named.conf as well
named_chrootdir=3D"/var/named"    # Chroot directory (or "" not to auto-chr=
oot=20
it)
named_chroot_autoupdate=3D"YES"   # Automatically install/update chrooted
                                # components of named. See /etc/rc.d/named.
named_symlink_enable=3D"YES"      # Symlink the chrooted pid file


Ragards,

=2DHarry


--nextPart1392869.caFvKfZLNW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCDT0SBylq0S4AzzwRAgxOAJwM1maK/ag6/A9B4BxJ9zG/0ky/RgCffzWo
p6w4CQ/61ldkcFTpnUQEJ1I=
=+PZq
-----END PGP SIGNATURE-----

--nextPart1392869.caFvKfZLNW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502120017.38796>