Skip to content

How to add max timeout on DNS query? #7231

Closed
@yhojann-cl

Description

@yhojann-cl

For example, the request a MX query is a very very long response, how to set by example 8 seconds to stop connection and launch the error callback?

Metadata

Metadata

Assignees

Labels

dnsIssues and PRs related to the dns subsystem.feature requestIssues that request new features to be added to Node.js.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions