Date: Tue, 29 Jun 2010 10:22:35 +0300 From: Bogdan Webb <bogdan@pvp.ro> To: freebsd-questions@freebsd.org, chris@chrismaness.com Subject: Re: BIND Refusing to Resolve for External Hosts Message-ID: <AANLkTilAj4GNP0vgD7w_sV0t6ltlywwAjl2nkOVUYvvR@mail.gmail.com> In-Reply-To: <AANLkTimgwvEhu9gt-L9_apH_rnwsv3NHSBARpHJepsvy@mail.gmail.com> References: <AANLkTimgwvEhu9gt-L9_apH_rnwsv3NHSBARpHJepsvy@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"; > }; > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilAj4GNP0vgD7w_sV0t6ltlywwAjl2nkOVUYvvR>