Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
dnsdist needs Action to send a specific EDNS Client Subnet option to downstream #6404
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
Provide ECS for some people, but give CDNs something useful for the rest.
Get an action that allows to override ECSSubnets.