AXFRDDNS: Enable DNS compression for DDNS (#3730)

This commit is contained in:
Mynacol 2025-08-18 22:35:17 +02:00 committed by GitHub
parent 4ee1ed6ad2
commit 3799f8b8e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -375,6 +375,7 @@ func (c *axfrddnsProvider) BuildCorrection(dc *models.DomainConfig, msgs []strin
return &models.Correction{
Msg: fmt.Sprintf("DDNS UPDATES to '%s' (primary master: '%s'). Changes:\n%s", dc.Name, c.master, strings.Join(msgs, "\n")),
F: func() error {
update.Compress = true
client := new(dns.Client)
client.Net = c.updateMode
client.Timeout = dnsTimeout