From owner-freebsd-questions@FreeBSD.ORG Sun Jan 16 20:23:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E440516A4CE for ; Sun, 16 Jan 2005 20:23:55 +0000 (GMT) Received: from cheyenne.wixb.com (cheyenne.wixb.com [65.43.82.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86D3543D31 for ; Sun, 16 Jan 2005 20:23:55 +0000 (GMT) (envelope-from jbronson@wixb.com) Organization: Aurora Health Care, Milwaukee WI USA Message-Id: <6.2.0.14.2.20050116142101.00bfef60@cheyenne.wixb.com> Date: Sun, 16 Jan 2005 14:23:54 -0600 To: freebsd-questions@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: setup of Bind9 on 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 20:23:56 -0000 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