Skip to content

Node 10.8.0 does not support lookup on Agent #27695

Closed
@firasdib

Description

@firasdib
  • Version: 10.8.0
  • Platform: Linux
  • Subsystem: CentOS

The docs state you can specify your own lookup function for DNS resolution when creating an Agent. See https://nodejs.org/dist/latest-v10.x/docs/api/net.html#net_socket_connect_options_connectlistener and https://nodejs.org/dist/latest-v10.x/docs/api/http.html#http_class_http_agent

However, this option is not respected in v10.8.0. After upgrading to v12, it worked as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dnsIssues and PRs related to the dns subsystem.httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions