mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-05 04:34:32 +08: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:
parent
acaa77dc22
commit
899100b7b3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue