Dns01 with OVH doesn't seems to work

the thing is, In the manual hook script I do something like this after creating the record :

res = Resolver()
while True:
    try:
        res.query(os.environ['CERTBOT_DOMAIN'])
        break
    except:
        pass

This is dirty bug it should work. I saw here https://certbot.eff.org/docs/using.html#pre-and-post-validation-hooks that the script is waiting 25 seconds before doing anything, maybe I should try this.

EDIT:

So I have tried with 60sec sleep, and now it is working. The code that check the validity of the TXT (with a dns request) record does not work :frowning:

Thank you all for your help

1 Like