mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-11-06 06:27:18 +08:00
DESEC: populate zone cache after creating zone
This commit is contained in:
parent
2461f3dc50
commit
951f7b0e40
1 changed files with 5 additions and 0 deletions
|
|
@ -262,6 +262,11 @@ func (c *desecProvider) createDomain(domain string) error {
|
|||
}
|
||||
printer.Printf("To enable DNSSEC validation for your domain, make sure to convey the DS record(s) to your registrar:\n")
|
||||
printer.Printf("%+q", dm.Keys)
|
||||
c.domainIndexLock.Lock()
|
||||
defer c.domainIndexLock.Unlock()
|
||||
if c.domainIndex != nil {
|
||||
c.domainIndex[domain] = dm.MinimumTTL
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue