Skip to content

Specify servers for dns.lookup(...) #25560

@szmarczak

Description

@szmarczak

The performance of Resolver.resolve4/Resolver.resolve6 is very poor (~15 ops/sec).

As I see it, it does the same as dns.lookup but you can select custom DNS servers as well as you can also get the TTL.

The performance of dns.lookup is ~6000 ops/sec. Is it somehow possible to select the servers for dns.lookup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions