mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-23 15:12:57 +08:00
DOCUMENTATION: Document bugid 491 (#492)
This commit is contained in:
parent
f795af3be0
commit
5f77888296
2 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,10 @@ func DetermineNameservers(dc *models.DomainConfig) ([]*models.Nameserver, error)
|
|||
}
|
||||
for i := 0; i < take; i++ {
|
||||
nss[i].Name = strings.TrimRight(nss[i].Name, ".")
|
||||
// FIXME(tlim): Rather than correct broken providers, we should print
|
||||
// a warning that the provider should be updated to store the FQDN
|
||||
// with no trailing dot. See also providers/namedotcom/nameservers.go
|
||||
// Bug https://github.com/StackExchange/dnscontrol/issues/491
|
||||
ns = append(ns, nss[i])
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,6 +55,9 @@ func (n *NameCom) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Co
|
|||
expected := []string{}
|
||||
for _, ns := range dc.Nameservers {
|
||||
expected = append(expected, ns.Name)
|
||||
// FIXME(tlim): This should store a FQDN with no trailing ".".
|
||||
// See pkg/nameservers/nameservers.go for details.
|
||||
// Bug https://github.com/StackExchange/dnscontrol/issues/491
|
||||
}
|
||||
sort.Strings(expected)
|
||||
expectedNameservers := strings.Join(expected, ",")
|
||||
|
|
Loading…
Reference in a new issue