mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 05:36:27 +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
|
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)
|
out = append(out, rc)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue