From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 07:22:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97B73106564A for ; Tue, 29 Jun 2010 07:22:37 +0000 (UTC) (envelope-from bogdan@pvp.ro) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 511138FC14 for ; Tue, 29 Jun 2010 07:22:36 +0000 (UTC) Received: by vws13 with SMTP id 13so8990516vws.13 for ; Tue, 29 Jun 2010 00:22:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.122.3 with SMTP id j3mr3615870vcr.256.1277796155107; Tue, 29 Jun 2010 00:22:35 -0700 (PDT) Received: by 10.220.181.72 with HTTP; Tue, 29 Jun 2010 00:22:35 -0700 (PDT) X-Originating-IP: [86.122.161.162] In-Reply-To: References: Date: Tue, 29 Jun 2010 10:22:35 +0300 Message-ID: From: Bogdan Webb To: freebsd-questions@freebsd.org, chris@chrismaness.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: BIND Refusing to Resolve for External Hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 07:22:37 -0000 uhm here's my named.conf (it's a bit lightwight) but it works... // $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.4.1 2009/04/15 03:14:26 > kensmith Exp $ > options { > directory "/etc/namedb/namedwritable"; //made dir writable to bind > user > pid-file "/var/run/named/pid"; > dump-file "/var/dump/named_dump.db"; > statistics-file "/var/stats/named.stats"; > // listen-on { 127.0.0.1; }; > disable-empty-zone "255.255.255.255.IN-ADDR.ARPA"; > disable-empty-zone > "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"; > disable-empty-zone > "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"; > forwarders {8.8.8.8; 8.8.4.4; 62.231.76.49; 81.18.85.7; 4.2.2.4; > 208.67.222.222; 208.67.220.220; 213.154.124.1; 193.231.252.1; 4.2.2.1; > 4.2.2.2; 4.2.2.3; 4.2.2.5; 4.2.2.6; 151.197.0.38; 151.197.0.39; > 151.202.0.84; 151.202.0.85; 151.202.0.85; 151.203.0.84; 151.203.0.85; > 199.45.32.37; 199.45.32.38; 199.45.32.40; 199.45.32.43; 192.76.85.133; > 206.124.64.1; 67.138.54.100; 220.233.167.31; 199.166.31.3; 66.93.87.2; > 216.231.41.2; 216.254.95.2; 64.81.45.2; 64.81.111.2; 64.81.127.2; > 64.81.79.2; 64.81.159.2; 66.92.64.2; 66.92.224.2; 66.92.159.2; 64.81.79.2; > 64.81.159.2; 64.81.127.2; 64.81.45.2; 216.27.175.2; 66.92.159.2; 66.93.87.2; > 199.2.252.10; 204.97.212.10; 204.117.214.10; 64.102.255.44; 128.107.241.185; > 156.154.70.1; 156.154.71.1;}; > }; > > zone "." { type hint; file "../named.root"; }; > > zone "pgn.ro" { > type master; > file "../master/pgn.ro.zone"; //master dir writable to bind user > allow-transfer { localhost; }; > allow-update { key rndc-key; }; > }; > > zone "pvp.ro" { > type master; > file "../master/pvp.ro.zone"; > allow-transfer { localhost; }; > allow-update { key rndc-key; }; > > }; > > zone "pnl-mioveni.ro" { > type master; > file "../master/pnl-mioveni.ro.zone"; > allow-transfer { localhost; }; > allow-update { key rndc-key; }; > }; > > zone "chiritamarian.ro" { > type master; > file "../master/chiritamarian.ro.zone"; > allow-transfer { localhost; }; > allow-update { key rndc-key; }; > }; > > key "rndc-key" { > algorithm hmac-md5; > secret "XXXXXXXXXXXXXXXXXXXXXX"; > }; > >