From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 17:33:26 2003 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 7339837B401 for ; Thu, 3 Jul 2003 17:33:26 -0700 (PDT) Received: from mx1.au.itouchnet.net (nat2.au.itouchnet.net [144.135.23.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D02A43FB1 for ; Thu, 3 Jul 2003 17:33:22 -0700 (PDT) (envelope-from ajthomson@optushome.com.au) Received: from nobody by mx1.au.itouchnet.net with scanned_ok (Exim 3.36 #1) id 19YEVr-000Fqs-00 for questions@freebsd.org; Fri, 04 Jul 2003 10:33:19 +1000 X-TLS: TLSv1:DES-CBC3-SHA:168 athomson.prv.au.itouchnet.net -> mx1.au.itouchnet.net Received: from athomson.prv.au.itouchnet.net ([192.168.13.55]) by mx1.au.itouchnet.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 19YEVr-000Fqj-00 for questions@freebsd.org; Fri, 04 Jul 2003 10:33:19 +1000 Received: from localhost ([127.0.0.1] helo=athomson.prv.au.itouchnet.net) by athomson.prv.au.itouchnet.net with esmtp (Exim 4.20) id 19YEVq-000KUc-Sq for questions@freebsd.org; Fri, 04 Jul 2003 10:33:18 +1000 Received: (from ajt@localhost)h640XIv2078665 for questions@freebsd.org; Fri, 4 Jul 2003 10:33:18 +1000 (EST) X-Authentication-Warning: athomson.prv.au.itouchnet.net: ajt set sender to ajthomson@optushome.com.au using -f Date: Fri, 4 Jul 2003 10:33:18 +1000 From: Andrew Thomson To: questions@freebsd.org Message-ID: <20030704003318.GE24987@athomson.prv.au.itouchnet.net> Mail-Followup-To: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Checked: Scanned for any viruses and unauthorized attachments at mx1.au.itouchnet.net X-iScan-ID: 60934-1057278799-94762@mx1.au.itouchnet.net version $Name: REL_2_0_2 $ Subject: caching nameserver with local domain 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: Fri, 04 Jul 2003 00:33:26 -0000 just wanted to verify this is kind of right.. do i have to do anything special with my fake internal domain?? acl "localnet" { 192.168.1.0/24; }; options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; forward only; allow-query { localnet; }; forwarders { isp.nameserver; }; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "master/localhost.rev"; }; zone "fake.internal.domain" { allow-query { localnet; }; type master; file "master/fake.internal.domain"; }; zone "1.168.192.in-addr.arpa" { allow-query { localnet; }; type master; file "master/1.168.192.in-addr.arpa"; }; thanks, ajt.