Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // named.conf
- //
- // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
- // server as a caching only nameserver (as a localhost DNS resolver only).
- //
- // See /usr/share/doc/bind*/sample/ for example named configuration files.
- //
- options {
- listen-on port 53 { any; };
- listen-on-v6 port 53 { any; };
- directory "/var/named";
- dump-file "/var/named/data/cache_dump.db";
- statistics-file "/var/named/data/named_stats.txt";
- memstatistics-file "/var/named/data/named_mem_stats.txt";
- allow-query { localhost; };
- recursion yes;
- dnssec-enable yes;
- dnssec-validation yes;
- dnssec-lookaside auto;
- /* Path to ISC DLV key */
- bindkeys-file "/etc/named.iscdlv.key";
- };
- logging {
- channel default_debug {
- file "data/named.run";
- severity dynamic;
- };
- };
- #The followingzone definitions don't need any modification. the first one
- #is the definition of the root name servers and sets up our server as a
- #caching-capable DNS server.
- #the second one defines localhost.
- #the third zone definition defines the reverse lookup for localhost.
- #
- #
- zone "." IN {
- type hint;
- file "root.hints";
- };
- zone "localhost" in {
- type master;
- file "localhost.db";
- };
- zone "0.0.127.in-addr.arpa" in {
- type master;
- file "127.0.0.rev";
- };
- #the zone definition below is for the domain that our name server is
- #authoritative for i.e. the example.org domain name.
- #
- zone "example.org" {
- type master;
- file "example.org.db";
- };
- #below is the zone for the in-addr.arpa domain, for the example.org site.
- zone "15.2.0.10.in-addr.arpa" {
- type master;
- file "example.org.rev";
- };
- #BELOW IS THE ENTRy FOR THE SUB-DOMAIN FOR WhICH THIS SERvER IS A SLAVE SERVER
- #ip address of sales.example.orgs master server is 192.168.1.2
- zone "sales.example.org" {
- type slave;
- file "sales.example.org.bk";
- masters {10.0.2.16;};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement