Configure public_dns jail.
This commit is contained in:
6
ansible/roles/public_dns/files/Corefile
Normal file
6
ansible/roles/public_dns/files/Corefile
Normal file
@@ -0,0 +1,6 @@
|
||||
fizz.buzz.:53 {
|
||||
log
|
||||
errors
|
||||
health
|
||||
file /usr/local/etc/coredns/master.db
|
||||
}
|
||||
1
ansible/roles/public_dns/files/coredns_rc.conf
Normal file
1
ansible/roles/public_dns/files/coredns_rc.conf
Normal file
@@ -0,0 +1 @@
|
||||
coredns_enable="YES"
|
||||
14
ansible/roles/public_dns/files/master.db
Normal file
14
ansible/roles/public_dns/files/master.db
Normal file
@@ -0,0 +1,14 @@
|
||||
$ORIGIN fizz.buzz.
|
||||
@ 3600 IN SOA sns.dns.icann.org. noc.dns.icann.org. (
|
||||
2023061800 ; serial
|
||||
7200 ; refresh (2 hours)
|
||||
3600 ; retry (1 hour)
|
||||
1209600 ; expire (2 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
|
||||
3600 IN NS a.iana-servers.net.
|
||||
3600 IN NS b.iana-servers.net.
|
||||
|
||||
www IN A 127.0.0.1
|
||||
IN AAAA ::1
|
||||
Reference in New Issue
Block a user