Skip to content

Commit 24fe112

Browse files
committed
dns: add missing exports.BADNAME
Adds the documented but missing DNS error exports.BADNAME. This export has been there before but got lost in a 2012 commit that added more error codes. #3076 will remove the wrong error code exports.ADNAME. PR-URL: #3051 Fixes: #3050 Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1 parent 212c9c0 commit 24fe112

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/dns.js

+1
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ exports.NOTIMP = 'ENOTIMP';
331331
exports.REFUSED = 'EREFUSED';
332332
exports.BADQUERY = 'EBADQUERY';
333333
exports.ADNAME = 'EADNAME';
334+
exports.BADNAME = 'EBADNAME';
334335
exports.BADFAMILY = 'EBADFAMILY';
335336
exports.BADRESP = 'EBADRESP';
336337
exports.CONNREFUSED = 'ECONNREFUSED';

0 commit comments

Comments
 (0)