ALIDNS: Skip apex NS records

This commit is contained in:
artin 2025-12-04 02:21:17 +08:00
parent 0a1834c865
commit 9b7bbbabe1

View file

@ -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)
}