Skip to content

[regression] CNAME with _ is parsed as invalid response #424

Description

@AdamMajer

With a CNAME setup test -> _test, ares_parse_a_reply is rejecting the response as invalid. The problem seems to be with PR: #406 where the assumption is made that hostname restrictions apply to domain names. With domain names like

_ldap._tcp.<server>

this assumption seems to be invalid.

This is already reported in Node
nodejs/node#39780

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions