// // sample BIND configuration file // options { // tell named where to find files mentioned below directory "/var/named"; /* * Using the DNS Server of the Network Provider as a forwarder * can make responses to queries faster and less of load on your * local network */ forward first; forwarders { 192.168.1.254; }; }; // on a multi-homed host, you might want to tell named // to listen for queries only on certain interfaces listen-on { 127.0.0.1; 192.168.1.0/24; }; }; // The single dot (.) is the root of all DNS namespace, so // this zone tells named where to start looking for any // name on the Internet zone "." IN { // a hint type means that we've got to look elsewhere // for authoritative information type hint; file "named.root"; }; // Where the localhost hostname is defined zone "localhost" IN { // a master type means that this server needn't look // anywhere else for information; the localhost buck // stops here. type master; file "zone.localhost"; // don't allow dynamic DNS clients to update info // about the localhost zone allow-update { none; }; }; // Where the 127.0.0.0 network is defined zone "0.0.127.in-addr.arpa" IN { type master; file "revp.127.0.0"; allow-update { none; }; };