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

BUG: dnssimple URL broke during refactor (#325)

This commit is contained in:
Tom Limoncelli
2018-02-27 16:50:34 -05:00
committed by GitHub
parent e266e953d9
commit 32a481b85f

View File

@@ -84,7 +84,7 @@ func (c *DnsimpleApi) GetDomainCorrections(dc *models.DomainConfig) ([]*models.C
}
rec.SetLabel(r.Name, dc.Name)
switch rtype := r.Type; rtype {
case "ALIAS":
case "ALIAS", "URL":
rec.Type = r.Type
rec.SetTarget(r.Content)
case "MX":