mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
@ -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...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user