report error if zone doesn't match

This commit is contained in:
AJ ONeal 2019-07-23 22:41:01 -06:00
父節點 948e6510ba
當前提交 b54e8236cb
共有 1 個文件被更改,包括 4 次插入0 次删除

查看文件

@ -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');
},