-
-
Save kaypeter87/ea73c44651eef092480047387f43c83b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service { | |
dhcp-server { | |
disabled false | |
dynamic-dns-update { | |
enable true | |
} | |
global-parameters "key rndc-key { algorithm HMAC-MD5; secret paste_your_ddns_secret_here; };" | |
global-parameters "zone home.local. { primary 10.1.2.2; key rndc-key; }" | |
global-parameters "ddns-domainname "home.local.";" | |
global-parameters "ddns-rev-domainname "in-addr.arpa.";" | |
global-parameters "zone in-addr.arpa. { primary 10.1.2.2; key rndc-key; }" | |
global-parameters "zone 1.10.in-addr.arpa. { primary 10.1.2.2; key rndc-key; }" | |
hostfile-update disable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key "rndc-key" { | |
algorithm hmac-md5; | |
secret "paste_your_ddns_secret_here"; | |
}; | |
zone "home.local" { | |
type master; | |
file "/etc/bind/zones/db.home.local"; | |
allow-update { key rndc-key; }; | |
allow-transfer { 10.1.10.4; }; | |
zone-statistics yes; | |
}; | |
zone "1.10.in-addr.arpa" { | |
type master; | |
file "/etc/bind/zones/db.1.10"; | |
allow-update { key rndc-key; }; | |
allow-transfer { 10.1.10.4; }; | |
zone-statistics yes; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment