Skip to content

Ability to select the dial address for resolvers #325

@alpominth

Description

@alpominth

Many DoH, DoT and some DoQ resolvers have more than one IP for connecting:

$ host -t A dns.nextdns.io
dns.nextdns.io is an alias for steering.nextdns.io.
steering.nextdns.io has address 5.161.43.197
steering.nextdns.io has address 170.39.224.134

$ host -t A dns10.quad9.net
dns10.quad9.net has address 149.112.112.10
dns10.quad9.net has address 9.9.9.10

$ host -t A dns.cloudflare.com
dns.cloudflare.com has address 104.16.132.229
dns.cloudflare.com has address 104.16.133.229

$ host -t A dns-unfiltered.adguard.com
dns-unfiltered.adguard.com has address 94.140.14.140
dns-unfiltered.adguard.com has address 94.140.14.141

An option to specify which IP address will be used would be a good idea.

And maybe, RouteDNS could randomize the IP address selection to avoid overcharging the first IP address of a DoH|DoT|DoQ resolver. Maybe an option for doing that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions