Skip to content
Snippets Groups Projects
Commit d75bc5be authored by ale's avatar ale
Browse files

Try setting common NameUsed prerequisite in dynamic DNS update

parent 2af41ccc
No related branches found
No related tags found
No related merge requests found
Pipeline #67532 passed with warnings
......@@ -66,8 +66,10 @@ func (d *dnsValidator) makeMsg(zone string, rrs []dns.RR, remove bool) *dns.Msg
m := new(dns.Msg)
m.SetUpdate(zone)
if remove {
m.NameUsed(rrs)
m.Remove(rrs)
} else {
m.NameUsed(rrs)
m.RemoveRRset(rrs)
m.Insert(rrs)
}
......
  • ale @ale

    mentioned in commit 0b1df93d

    ·

    mentioned in commit 0b1df93d

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment