report error if zone doesn't match

This commit is contained in:
AJ ONeal 2019-07-23 22:41:01 -06:00
parent 948e6510ba
commit b54e8236cb
1 changed files with 4 additions and 0 deletions

View File

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