mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-25 16:13:04 +08:00
parent
194aa09158
commit
9953bf41e9
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ func (c *AxfrDdns) FetchZoneRecords(domain string) ([]dns.RR, error) {
|
|||
if err == "dns: bad xfr rcode: 9" {
|
||||
err = "NOT AUTH (9)"
|
||||
}
|
||||
return nil, fmt.Errorf("[Error] AXFRDDNS: nameserver refused to transfer the zone: %s", msg)
|
||||
return nil, fmt.Errorf("[Error] AXFRDDNS: nameserver refused to transfer the zone: %s", err)
|
||||
}
|
||||
rawRecords = append(rawRecords, msg.RR...)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue