mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
isc-dhcp: don't use allow-update in bind config
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
@@ -467,8 +467,9 @@ general_config() {
|
||||
zone "$domain" {
|
||||
type master;
|
||||
file "$dyndir/db.$domain";
|
||||
allow-update { key $session_key_name; };
|
||||
allow-transfer { key $session_key_name; };
|
||||
update-policy {
|
||||
grant $session_key_name zonesub any;
|
||||
};
|
||||
};
|
||||
|
||||
EOF
|
||||
@@ -479,8 +480,9 @@ EOF
|
||||
zone "$mynet.in-addr.arpa" {
|
||||
type master;
|
||||
file "$dyndir/db.$mynet.in-addr.arpa";
|
||||
allow-update { key $session_key_name; };
|
||||
allow-transfer { key $session_key_name; };
|
||||
update-policy {
|
||||
grant $session_key_name zonesub any;
|
||||
};
|
||||
};
|
||||
|
||||
EOF
|
||||
@@ -504,7 +506,7 @@ include "$session_key_file";
|
||||
|
||||
zone $domain. {
|
||||
primary 127.0.0.1;
|
||||
key local-ddns;
|
||||
key $session_key_name;
|
||||
}
|
||||
|
||||
EOF
|
||||
@@ -514,7 +516,7 @@ EOF
|
||||
cat <<EOF
|
||||
zone $mynet.in-addr.arpa. {
|
||||
primary 127.0.0.1;
|
||||
key local-ddns;
|
||||
key $session_key_name;
|
||||
}
|
||||
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user