Merge pull request #7 from dustywilson/patch-1

RRsetDeleteRR must set TTL to 0 otherwise BIND rejects with "FORMERR"
This commit is contained in:
Miek Gieben 2011-12-06 03:47:23 -08:00
commit b40b34c37a
1 changed files with 1 additions and 0 deletions

View File

@ -176,5 +176,6 @@ func (u *Update) RRsetDeleteRR(rr []RR) {
for i, r := range rr {
u.Ns[i] = r
u.Ns[i].Header().Class = ClassNONE
u.Ns[i].Header().Ttl = 0
}
}