SHOW:
|
|
- or go back to the newest paste.
1 | -- NAMED.CONF.OPTIONS -- | |
2 | ||
3 | options { | |
4 | directory "/var/cache/bind"; | |
5 | forwarders { | |
6 | 10.10.10.2; | |
7 | }; | |
8 | ||
9 | dnssec-validation auto; | |
10 | ||
11 | auth-nxdomain no; # conform to RFC1035 | |
12 | listen-on-v6 { any; }; | |
13 | ||
14 | allow-transfer { 10.10.10.67; }; | |
15 | notify yes; | |
16 | }; | |
17 | ||
18 | -- NAMED.CONF.LOCAL -- | |
19 | ||
20 | - | // |
20 | + | |
21 | - | // Do any local configuration here |
21 | + | |
22 | - | // |
22 | + | |
23 | }; | |
24 | - | // Consider adding the 1918 zones here, if they are not used in your |
24 | + | |
25 | - | // organization |
25 | + | |
26 | - | //include "/etc/bind/zones.rfc1918"; |
26 | + | |
27 | file "/etc/bind/zones/dns.lan.db"; | |
28 | }; | |
29 | ||
30 | zone "webstage.lan" { | |
31 | type master; | |
32 | file "/etc/bind/zones/webstage.lan.db"; | |
33 | }; | |
34 | ||
35 | ||
36 | - | file "/etc/bind/zones/kaps.dns.db"; |
36 | + | |
37 | ||
38 | $TTL 38400 | |
39 | dns.lan. IN SOA dns.lan. root.dns.lan. (201311070 10800 180 129600 38400) | |
40 | ||
41 | - | file "/etc/bind/zones/kaps.webstage.db"; |
41 | + | |
42 | @ IN NS ns.dns.lan. | |
43 | ||
44 | @ IN A 10.10.10.99 | |
45 | ||
46 | -- webstage.lan.db -- | |
47 | ||
48 | $TTL 38400 | |
49 | webstage.lan. IN SOA ns.webstage.lan. root.webstage.kaps. (201311070 10800 180 1209600 38400) | |
50 | ||
51 | ns IN A 10.10.10.67 | |
52 | @ IN NS ns.webstage.lan. |