From e83f92166da9516b7ed3b98d4ca167437f3207f6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 2 Apr 2019 23:01:57 -0600 Subject: [PATCH] warn about DNS challenges --- examples/wildcard.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/wildcard.js b/examples/wildcard.js index f902311..087bedc 100644 --- a/examples/wildcard.js +++ b/examples/wildcard.js @@ -57,6 +57,9 @@ function myApproveDomains(opts) { if (!opts.challenges) { opts.challenges = {}; } opts.challenges['http-01'] = require('le-challenge-fs').create({}); + // Note: When implementing a dns-01 plugin you should make it check in a loop + // until it can positively confirm that the DNS changes have propagated. + // That could take several seconds to a few minutes. opts.challenges['dns-01'] = require('le-challenge-dns').create({}); // explicitly set account id and certificate.id