Skip to content

[BUG]: possible doc issue, and unsettled promises #94

@KernelDeimos

Description

@KernelDeimos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions