Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsdist needs Action to send a specific EDNS Client Subnet option to downstream #6404

Closed
ahupowerdns opened this issue Mar 27, 2018 · 0 comments
Closed

Comments

@ahupowerdns
Copy link
Member

@ahupowerdns ahupowerdns commented Mar 27, 2018

  • Program: dnsdist
  • Issue type: feature request

Short description

Some operators support EDNS Client Subnet operations on part of their listening IP addresses. Depending on where a query came in on, they would like to tell the backend the IP address of the client, or not. Instead of the client IP, they may want to send an IPv4 or IPv6 netmask that represents at least the resolver location in a useful way.

Currently, dnsdist can supply the IP address of the client via EDNS Client Subnet to backend servers, and this can be turned off with an action or from Lua.

It would be great to have a SetECSSubnetAction(netmask1[, netmask2]). If only 1 netmask is provided, that one is always used. If a second one is provided and it is IPv6, that one is used for IPv6 users.

Usecase

Provide ECS for some people, but give CDNs something useful for the rest.

Description

Get an action that allows to override ECSSubnets.

@ahupowerdns ahupowerdns changed the title dnsdist needs Action to send a specific EDNS Client Subnet header to downstream dnsdist needs Action to send a specific EDNS Client Subnet option to downstream Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.