1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Downcase DNS names (#253)

* Downcase DNS names
* Document opinions
This commit is contained in:
Tom Limoncelli
2017-11-07 14:12:17 -08:00
committed by Tom Limoncelli
parent b614501d56
commit e7472f76f3
20 changed files with 235 additions and 3 deletions

View File

@@ -120,6 +120,10 @@ func (c *CloudflareApi) GetDomainCorrections(dc *models.DomainConfig) ([]*models
}
}
checkNSModifications(dc)
// Normalize
models.Downcase(records)
differ := diff.New(dc, getProxyMetadata)
_, create, del, mod := differ.IncrementalDiff(records)
corrections := []*models.Correction{}