mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Better validate NAMESERVER format. (#350)
* remove misleading ip field we don't touch
This commit is contained in:
committed by
Tom Limoncelli
parent
139f4fe1ed
commit
2a7b382767
@@ -42,8 +42,7 @@ type DNSProviderConfig struct {
|
||||
|
||||
// Nameserver describes a nameserver.
|
||||
type Nameserver struct {
|
||||
Name string `json:"name"` // Normalized to a FQDN with NO trailing "."
|
||||
Target string `json:"target"`
|
||||
Name string `json:"name"` // Normalized to a FQDN with NO trailing "."
|
||||
}
|
||||
|
||||
// StringsToNameservers constructs a list of *Nameserver structs using a list of FQDNs.
|
||||
|
Reference in New Issue
Block a user