SRV suppression bugfix

master
karchnu 2015-12-28 17:34:45 +01:00
parent 6e6aada17e
commit 529264328f
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ sub rt_dom_del_entry {
# si le type est CNAME, MX, NS ou PTR
# le rdata doit être un domaine
# si ce domaine n'est pas absolu, rajouter ".domain."
if($$param{type} =~ /^(CNAME|MX|NS|PTR)$/) {
if($$param{type} =~ /^(CNAME|SRV|MX|NS|PTR)$/) {
$rdata =~ s/@/$$param{domain}./;
$rdata .= ".$$param{domain}." if $rdata !~ /\.$/;
}