add comment

This commit is contained in:
AJ ONeal 2019-07-23 22:47:36 -06:00
parent ed309b29a4
commit d81be5b1f6
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ module.exports.create = function(config) {
throw Error('listing zones not implemented'); throw Error('listing zones not implemented');
}, },
set: function(data) { set: function(data) {
var ch = data.challenge;
if (!ch.dnsZone) {
// zones() is not implemented for http-01 challenges,
// but it is almost always implemented for dns-01 challenges
throw new Error('No matching zone for ' + ch.dnsHost);
}
// console.info('Add TXT', data); // console.info('Add TXT', data);
throw Error('setting TXT not implemented'); throw Error('setting TXT not implemented');
}, },