DNS-OARC/flamethrower

Support For EDNS Client Subnet

CheRuisiBesares opened this issue · 1 comments

Hi. Im currently doing some testing with kdig which is heavily reliant on the ability to set the EDNS client subnet per query. I would love for flamethrower to have a similar ability to set EDNS client subnet. Im not sure what path forward would be best but I can imagine a new generator or I can image it could be useful as an option for some/all of the existing generators.

For the FileQueryGenerator it would be great to allow specification of ECS per line. If we had something like this it would allow a PowerDNS operator to create a flame manifest from a rec_control dump-cache very easily. When ECS is enabled the format for this dump is approximately:

example.com. 17 IN CNAME target.example.com. ; (Indeterminate) auth=1 4.1.0.0/21

with the last entry being the ECS. Link here. This would allow for more realistic testing of the entire caching setup.

added in #31