dnscontrol/providers/desec
Vincent Bernat c44ed88659
GANDI_V5 & DESEC: correctly handle multiple RR in a RRset (#1296)
When having multiple RR in a RRset, only a few of them may be applied.
In my case, when I have two A records, only one of them makes its way
to Gandi.

In `convert.go`, we had:

```go
var zrs []livedns.DomainRecord
// [...]
zrs = append(zrs, zr)
keys[key] = &zrs[len(zrs)-1]
```

If the slice needs to be extended when appending, the reference we got
in `keys[key]` may be outdated because the new slice contains a copy
of the old one. We either need to store references to domain records
in the slice or we need to stop keeping reference of items in the
slice.

I have fixed this with the second solution as I think the order of the
RRsets is not important.
2021-11-01 15:41:37 -04:00
..
auditrecords.go Re-engineer TXT records for simplicity and better compliance (#1063) 2021-03-07 13:19:22 -05:00
convert.go GANDI_V5 & DESEC: correctly handle multiple RR in a RRset (#1296) 2021-11-01 15:41:37 -04:00
desecProvider.go deSEC implement pagination (#1208) 2021-07-21 11:44:10 -04:00
protocol.go deSEC implement pagination (#1208) 2021-07-21 11:44:10 -04:00