|
From: Bruce S. <bl...@us...> - 2005-07-25 14:23:11
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29641/scripts/scripts Added Files: Tag: rel-1-2-patches localhost.zone named.conf named.local Log Message: bind works as a caching only name server out of the box --- NEW FILE: localhost.zone --- $TTL 86400 $ORIGIN localhost. @ 1D IN SOA @ root ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS @ 1D IN A 127.0.0.1 --- NEW FILE: named.conf --- options { directory "/etc/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; // allow-transfer { 192.168.1/24; }; // listen-on { 127.0.0.1; 192.168.1/24; 192.168.9/24; }; // also-notify { 192.168.2.210; }; }; // // a caching only nameserver config // // controls { // inet 127.0.0.1 allow { localhost; } keys { rndckey; }; // }; // include "/etc/rndc.key"; zone "." IN { type hint; file "root.hint"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; --- NEW FILE: named.local --- $TTL 86400 @ IN SOA localhost. root.localhost. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS localhost. 1 IN PTR localhost. |