Skip to content

Support custom DNS resolvers in DNS cache used by DynamicForwardProxy filter #15657

Closed

Description

@ntgsx92

Support custom DNS resolvers in DNS cache used by DynamicForwardProxy filter

Description:

Context:
We're trying out Dynamic Forward Proxy filter to proxy HTTP requests to upstream clusters as a replacement for one of our internal service. One of the requirement for the new replacement is that it needs to be able to resolve DNS address dynamically via our own name resolution system. Additionally, we're building a DNS server that will talk to our custom name resolution system. However, we quickly found out that the DNS cache used by the filter only supports default DNS resolver(/etc/resolv.conf) which is not ideal if you would like to configure Envoy to talk to your own DNS resolver instead.

What we're proposing:
Adding an optional config in DNS cache called dns_resolvers that will default using DNS servers from /etc/resolv.conf but can be overridden to a set of IP addresses if specified.

Activity

  1. added
    enhancement
    triage
    on Mar 25, 2021
  2. added
    help wanted
    and removed
    enhancement
    triage
    on Mar 25, 2021
  3. mattklein123 commented on Mar 25, 2021

    @mattklein123
    Member

    This sounds reasonable to me!

  4. malza321 commented on May 2, 2021

    @malza321

    I'm really looking forward to it!

  5. ntgsx92 commented on May 4, 2021

    @ntgsx92
    ContributorAuthor

    pull request added

  6. ntgsx92 commented on May 27, 2021

    @ntgsx92
    ContributorAuthor

    pull request has merged. Resolving

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions