When creating a new DNSSEC key, we may get a failure while the key is created because we don't wait enough time to retrieve its ID. We may get Cannot find DNSSEC key for domain bernat.ch. Creation is done by creating, sleeping two seconds and trying to get the ID by walking existing key and matching on the public key. This should be replaced by a retry logic.
I don't have a toy domain to try this out but I see there is a sandbox to try it out. I'll try to come up with a patch.
Hey!
When creating a new DNSSEC key, we may get a failure while the key is created because we don't wait enough time to retrieve its ID. We may get
Cannot find DNSSEC key for domain bernat.ch
. Creation is done by creating, sleeping two seconds and trying to get the ID by walking existing key and matching on the public key. This should be replaced by a retry logic.I don't have a toy domain to try this out but I see there is a sandbox to try it out. I'll try to come up with a patch.