Only delete A RR, not any RR for the FQDN
Make the delete command specific to A RRs. This prevents ddclient from deleting other RRs unrelated to the dynamic address, but on the same FQDN. This can be specifically a problem with KEY RRs when using SIG(0) instead of symmetric keys. Reported by: Wellie Chao Bug report: http://sourceforge.net/p/ddclient/bugs/71/
This commit is contained in:
parent
9a859c3341
commit
e17b1d96b1
1 changed files with 1 additions and 1 deletions
2
ddclient
2
ddclient
|
@ -3854,7 +3854,7 @@ zone $zone.
|
||||||
EoINSTR1
|
EoINSTR1
|
||||||
foreach (@hosts) {
|
foreach (@hosts) {
|
||||||
$instructions .= <<EoINSTR2;
|
$instructions .= <<EoINSTR2;
|
||||||
update delete $_.
|
update delete $_. A
|
||||||
update add $_. $config{$_}{'ttl'} A $ip
|
update add $_. $config{$_}{'ttl'} A $ip
|
||||||
EoINSTR2
|
EoINSTR2
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue