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:
committed by
Tom Limoncelli
parent
acaa77dc22
commit
899100b7b3
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user