mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Merge
This commit is contained in:
@@ -318,7 +318,7 @@ func ValidateAndNormalizeConfig(config *models.DNSConfig) (errs []error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Canonicalize Targets.
|
// Canonicalize Targets.
|
||||||
if rec.Type == "CNAME" || rec.Type == "DS" || rec.Type == "MX" || rec.Type == "NAPTR" || rec.Type == "NS" || rec.Type == "SRV" {
|
if rec.Type == "CNAME" || rec.Type == "MX" || rec.Type == "NAPTR" || rec.Type == "NS" || rec.Type == "SRV" {
|
||||||
// #rtype_variations
|
// #rtype_variations
|
||||||
// These record types have a target that is a hostname.
|
// These record types have a target that is a hostname.
|
||||||
// We normalize them to a FQDN so there is less variation to handle. If a
|
// We normalize them to a FQDN so there is less variation to handle. If a
|
||||||
|
|||||||
Reference in New Issue
Block a user