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/ Fixes #71 git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@164 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
0a245f8c9b
commit
9912a765dd
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