mirror of
https://git.coolaj86.com/coolaj86/acme-dns-01-dnsimple.js.git
synced 2025-04-21 14:40:39 +00:00
report error if zone doesn't match
This commit is contained in:
parent
948e6510ba
commit
b54e8236cb
@ -14,6 +14,10 @@ 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) {
|
||||||
|
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');
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user