-
-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
Description
Description of the bug
Documentation shows the following options for the DNS client:
const options = {
// available options
// dns: dns server ip address or hostname (string),
// port: dns server port (number),
// recursive: Recursion Desired flag (boolean, default true, since > v1.4.2)
};
Using dns: '127.0.0.1' instead of nameServers: ['127.0.0.1'] results in calls to resolve() that return a promise that ever settles.
Steps To Reproduce
Use dns option as documented instead of nameServers, and try to query anything with the resolve() method on the DNS client
Additional Information
No response