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

Add again setting LabelFQDN in NormalizeAndValidateConfig (#342)

This is to prevent all labels to get erased by the empty LabelFQDN
during calls to `PunyCode`, until a better fix is found.
This commit is contained in:
Brice Figureau
2018-03-22 14:29:55 +01:00
committed by Tom Limoncelli
parent acaa77dc22
commit 899100b7b3

View File

@ -321,7 +321,7 @@ func NormalizeAndValidateConfig(config *models.DNSConfig) (errs []error) {
}
// Populate FQDN:
//rec.NameFQDN = dnsutil.AddOrigin(rec.GetLabel(), domain.Name)
rec.SetLabel(rec.GetLabel(), domain.Name)
}
}