Skip to content

Add a configurable DNS server list #21226

@diegosalvi

Description

@diegosalvi

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently is not possibile to configure one or more dns servers that will be used by the client to resolve hostnames.

Solution

In #13390 and 13503 has been added the capability to altering the dns binding address, we can enhance it more allowing DNS server list too

Alternatives

You can try to set dns server addresses using netty properties like io.netty.resolver.dns.defaultNameServerFallback (see DefaultDnsServerAddressStreamProvider) but it doesn't work on jdk 8 nor on Android systems.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions