dns: add missing exports.BADNAME
authorRoman Reiss <me@silverwind.io>
Sat, 26 Sep 2015 13:14:15 +0000 (15:14 +0200)
committerRod Vagg <rod@vagg.org>
Wed, 30 Sep 2015 06:02:14 +0000 (16:02 +1000)
commit6ee5d0f69f28bb4b92eff447ed39d3ef7d4728a6
treeb42f96d62849a01457aa8569160b6c23a65ef96d
parent5ec5d0aa8b803c14e1a94aa9a1a433fd1086280d
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. https://github.com/nodejs/node/pull/3076 will remove the
wrong error code exports.ADNAME.

PR-URL: https://github.com/nodejs/node/pull/3051
Fixes: https://github.com/nodejs/node/issues/3050
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
lib/dns.js