8000 Shouldn't DNS error code 'EADNAME' be 'EBADNAME'? · Issue #3050 · nodejs/node · GitHub
[go: up one dir, main page]

Skip to content

Shouldn't DNS error code 'EADNAME' be 'EBADNAME'? #3050

@maarten-t

Description

@maarten-t

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?

exports.BADNAME = 'EBADNAME';

Metadata

Metadata

Assignees

No one assigned

    Labels

    dnsIssues and PRs related to the dns subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No b 2CC7 ranches or pull requests

    Issue actions

      0