· 9 years ago · Dec 13, 2016, 05:06 PM
1zone "example.com" {
2 type master;
3 notify yes;
4 allow-update { key secret-key; };
5 file "/etc/bind/db.example.com";
6};
7
8$ORIGIN .
9$TTL 604800 ; 1 week
10example.com IN SOA dns.example.com root.example.com. (
11 1 ; serial
12 10800 ; refresh (3 hours)
13 3600 ; retry (1 hour)
14 604800 ; expire (1 week)
15 86400 ; minimum (1 day)
16 )
17 NS dns.example.org.
18 NS dns1.example.org.
19 NS dns2.example.org.
20$ORIGIN example.com.
21* MX 10 mail.example.com.
22mail A 127.0.0.1
23http A 127.0.1.1
24
25_acme-challenge.mail TXT "secretstring"