Closed szengerle closed 3 years ago
Hi,
Thanks for providing the code, this looks useful to add as a feature and I'd be happy to merge with a couple of minor changes:
dnslib/test
so that this is exercised by run_tests.sh - it is possible to generate these from a server response using python3 -m dnslib.test_decode --new
however given that the client subnet would only be visible at the server side you might need to manually create the test file in the dnslib/test
dir (you just need a hexdump of the query/response). python
from run_tests.sh
, if you only want to test with a specific version just use the VERSIONS environment variable (VERSIONS=python3 ./run_tests.sh
)Thanks, Paul
I'd still like to implement this but need to update PR as above - closing for now
edn0 entry parser added; returns EDNSOptionECS object; ipv4 and v6 support;