fleshed out example files
This commit is contained in:
parent
cd4400ffba
commit
b3a8eb89ea
@ -0,0 +1,17 @@
|
|||||||
|
; TODO: change this to your own soa, ns, a, aaaa, cname, etc. records
|
||||||
|
$TTL 1d ; default expiration time (in seconds) of all RRs without their own TTL value
|
||||||
|
@ IN SOA ns1.example.com. root.example.com. (
|
||||||
|
3 ; Serial
|
||||||
|
1d ; Refresh
|
||||||
|
1h ; Retry
|
||||||
|
1w ; Expire
|
||||||
|
1h ) ; Negative Cache TTL
|
||||||
|
|
||||||
|
; name servers - NS records
|
||||||
|
IN NS ns1.example.com.
|
||||||
|
|
||||||
|
; name servers - A records
|
||||||
|
ns1.example.com. IN A 172.24.0.2
|
||||||
|
|
||||||
|
service1.example.com. IN A 172.24.0.3
|
||||||
|
service2.example.com. IN A 172.24.0.4
|
@ -0,0 +1,4 @@
|
|||||||
|
zone "example.com" {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/zones/db.example.com";
|
||||||
|
};
|
@ -0,0 +1,11 @@
|
|||||||
|
options {
|
||||||
|
directory "/var/cache/bind";
|
||||||
|
|
||||||
|
recursion yes;
|
||||||
|
listen-on { any; };
|
||||||
|
|
||||||
|
forwarders {
|
||||||
|
8.8.8.8;
|
||||||
|
4.4.4.4;
|
||||||
|
};
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user