DNS-OARC / flamethrower

a DNS performance and functional testing utility supporting UDP, TCP, DoT and DoH
Apache License 2.0
318 stars 37 forks source link

Support For EDNS Client Subnet #26

Closed CheRuisiBesares closed 4 years ago

CheRuisiBesares commented 4 years ago

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.

weyrick commented 4 years ago

added in #31