Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2005 14:23:54 -0600
From:      "J.D. Bronson" <jbronson@wixb.com>
To:        freebsd-questions@freebsd.org
Subject:   setup of Bind9 on 5.3
Message-ID:  <6.2.0.14.2.20050116142101.00bfef60@cheyenne.wixb.com>

next in thread | raw e-mail | index | archive | help
I have cvs'd and built world and now I want to use the native bind9 to run DNS.

I am very familiar with chrooting named, but for some reason I cannot get 
this going....

If I use ISC's bind 9 built from scratch, it will chroot just fine.

Does anyone have a sample named.conf for chrooting that shows
loading of 1 zone and the hints file? (technically not needed with bind9, 
but doesnt hurt)

In addition, the dir structure of /var/named would be nice to see.

normally I setup chroot jail for named like this:

/var/named:

drwxr-xr-x   2 root     root         512 Aug 16 12:04 dev
drwxr-xr-x   2 root     named        512 Aug 16 12:04 etc
drwxrwx---   2 root     named        512 Sep  1  2003 log
drwxr-xr-x   2 root     root         512 Jan 16 10:02 master
drwxrwx---   2 root     named        512 Jan 16 10:04 run
drwxrwxr-x   2 root     named       1024 Dec 30 19:40 slave
drwxr-xr-x   2 root     root         512 Apr  7  2004 standard

this approach does not seem to work with using STOCK named....

any help will be appreciated!





-- 
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282
AIM:lonebanditusa // MSN:lonebanditusa@msn.com // Yahoo:lonebanditusa



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