Last active
December 17, 2015 21:35
-
-
Save shaon/5d56d8ed8c8c3e102034 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; filepath: /var/named/fwd.euca.example.net | |
$ORIGIN . | |
$TTL 86400 ; 1 day | |
euca.example.net IN SOA aoe-08-5.euca.example.net. root.euca.example.net. ( | |
2011071306 ; serial | |
3600 ; refresh (1 hour) | |
1800 ; retry (30 minutes) | |
604800 ; expire (1 week) | |
86400 ; minimum (1 day) | |
) | |
NS aoe-5.euca.example.net. | |
$ORIGIN super.euca.example.net. | |
$TTL 8600 ; 2 hours 23 minutes 20 seconds | |
aoe-08-10 NS aoe-08-10.euca.example.net. | |
$ORIGIN euca.example.net. | |
aoe-08-10 A 10.17.198.10 | |
aoe-08-11 A 10.17.198.11 | |
aoe-09-0 A 10.17.199.0 | |
aoe-09-1 A 10.17.199.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; filepath: /etc/named.conf | |
options { | |
listen-on port 53 { 127.0.0.1; 10.17.198.5; }; | |
listen-on-v6 port 53 { ::1; }; | |
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; 10.17.198.0/23; }; | |
recursion yes; | |
dnssec-enable no; | |
dnssec-validation no; | |
dnssec-lookaside auto; | |
/* Path to ISC DLV key */ | |
bindkeys-file "/etc/named.iscdlv.key"; | |
managed-keys-directory "/var/named/dynamic"; | |
}; | |
logging { | |
channel default_debug { | |
file "data/named.run"; | |
severity dynamic; | |
}; | |
}; | |
zone "." IN { | |
type hint; | |
file "named.ca"; | |
}; | |
zone "euca.example.net" IN { | |
type master; | |
file "fwd.euca.example.net"; | |
allow-update { any; }; | |
}; | |
zone "17.10.in-addr.arpa" IN { | |
type master; | |
file "rev.euca.example.net"; | |
allow-update { any; }; | |
}; | |
include "/etc/named.rfc1912.zones"; | |
include "/etc/named.root.key"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; filepath: /var/named/rev.euca.example.net | |
$ORIGIN . | |
$TTL 86400 ; 1 day | |
17.5.in-addr.arpa IN SOA aoe-08-5.euca.example.net. root.euca.example.net. ( | |
2011071301 ; serial | |
3600 ; refresh (1 hour) | |
1800 ; retry (30 minutes) | |
604800 ; expire (1 week) | |
86400 ; minimum (1 day) | |
) | |
NS aoe-08-5.euca.example.net. | |
$ORIGIN 198.17.10.in-addr.arpa. | |
10 PTR aoe-08-10.euca.example.net. | |
11 PTR aoe-08-11.euca.example.net. | |
$ORIGIN 199.17.10.in-addr.arpa. | |
0 PTR aoe-09-0.euca.example.net. | |
1 PTR aoe-09-1.euca.example.net. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment