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

Adding ECS support, like dig's +subnet=x.x.x.x/yy option #253

Open
PenelopeFudd opened this issue May 10, 2024 · 1 comment
Open

Adding ECS support, like dig's +subnet=x.x.x.x/yy option #253

PenelopeFudd opened this issue May 10, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PenelopeFudd
Copy link

Describe the feature
I'm glad to see that dnspyre has an --ednsopt option that lets you add arbitrary EDNS options, like Client Subnet (08).
Could you also add an option like --subnet=x.x.x.x/yy or --ecs=x.x.x.x/yy to make it a little easier?
Also, is there a way to specify a list of subnets to send on different queries?
Aaaand can it do IPv6 too?

Why do you need this feature
We're performance testing a version of PowerDNS authoritative server that's ECS-aware, and typing --ednsopt="08:00011600cc0fdc" instead of --subnet=204.15.220.0/22 is a bit tedious. :-)

@PenelopeFudd PenelopeFudd added the enhancement New feature or request label May 10, 2024
@PenelopeFudd
Copy link
Author

Adding ECS:1.2.3.0/24 to the end of each line of the input file would be ideal.
And if the request log could show the ECS value and the result, that'd help.
I was looking at the Zdns program, but it doesn't have an obvious way to specify ECS data.

@Tantalor93 Tantalor93 added the good first issue Good for newcomers label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants