mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +08:00
ALIDNS: Skip apex NS records
This commit is contained in:
parent
0a1834c865
commit
9b7bbbabe1
1 changed files with 6 additions and 0 deletions
|
|
@ -117,6 +117,12 @@ func (a *aliDnsDsp) GetZoneRecords(domain string, meta map[string]string) (model
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// Skip apex NS records since Alibaba Cloud manages them automatically
|
||||
// and we cannot modify them (DocDualHost: Cannot)
|
||||
if rc.Type == "NS" && rc.GetLabel() == "@" {
|
||||
continue
|
||||
}
|
||||
|
||||
out = append(out, rc)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue