fleshed out example files

This commit is contained in:
Wyatt J. Miller 2024-05-18 16:12:17 -04:00
parent cd4400ffba
commit b3a8eb89ea
3 changed files with 32 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
zone "example.com" {
type master;
file "/etc/bind/zones/db.example.com";
};

View File

@ -0,0 +1,11 @@
options {
directory "/var/cache/bind";
recursion yes;
listen-on { any; };
forwarders {
8.8.8.8;
4.4.4.4;
};
};