There was an error while loading. Please reload this page.
See https://github.com/nodejs/node/blob/master/lib/dns.js#L333
exports.ADNAME = 'EADNAME';
This line defines the error code ADNAME as 'EADNAME'. Shouldn't it be BADNAME and 'EBADNAME' respectively?
ADNAME
'EADNAME'
BADNAME
'EBADNAME'
exports.BADNAME = 'EBADNAME';
See https://github.com/nodejs/node/blob/master/lib/dns.js#L333
This line defines the error code
ADNAMEas'EADNAME'. Shouldn't it beBADNAMEand'EBADNAME'respectively?