// generated by named-bootconf.pl // Outside Public Known DNS server hostname key ns1.my-domain.net. { algorithm hmac-md5; secret "************************************************************"; }; // Inside DNS server hostname key lnx-srv.my-domain.net. { algorithm hmac-md5; secret "************************************************************"; }; // Outside Public Known DNS server hostname from ISP, which we xfer zones // with, through secret key access. key ns.isp.com. { algorithm hmac-md5; secret "************************************************************"; }; // ip-number of Public Known DNS server from ISP server 195.133.252.4 { keys { ns.isp.com.; }; // sign all requests to 195.133.252.4 // with this key }; options { directory "/var/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. // pid-file "/var/run/named/named.pid"; // version " sorry folks :)"; // query-source address * port 53; }; acl "inside" { 127/8; 10.0.18/24; 192.168.1/24; }; include "slaves.conf"; // // named.boot This file sets up the NAMED network name server program // // This tells the server where to find its files. // We always want to serve the LOCALHOST, right? view "inside" { match-clients { "inside"; }; recursion yes; zone "0.0.127.in-addr.arpa" { type master; file "named.local"; }; zone "my-domain.net" { type master; file "primary/my-domain.net.hosts.inside"; allow-transfer { key lnx-srv.my-domain.net.; // - key access 10.0.18.66; // - ip access }; // for older bind }; // versions zone "18.0.10.in-addr.arpa" { type master; file "primary/10.0.18.rev"; allow-transfer { key lnx-srv.my-domain.net.; 10.0.18.66; }; }; zone "1.168.192.in-addr.arpa" { type master; file "primary/192.168.1.rev"; allow-transfer { key lnx-srv.my-domain.net.; 10.0.18.66; }; }; zone "." { type hint; file "named.cache"; }; }; view "outside" { match-clients { any; }; recursion no; zone "my-domain.net" { type master; file "primary/my-domain.net.hosts.outside"; allow-transfer { "slaves"; }; }; zone "my-domain.org" { type master; file "primary/my-domain.org.hosts.outside"; allow-transfer { "slaves"; }; }; zone "." { type hint; file "named.cache"; }; }; // End of named.boot.