-
Notifications
You must be signed in to change notification settings - Fork 927
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
dnsdist: Add the ability to change the qname and owner names in DNS packets #12417
dnsdist: Add the ability to change the qname and owner names in DNS packets #12417
Conversation
7464710
to
b84ac3b
Compare
b84ac3b
to
56287dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it intentional the new ffi APIs are undocumented?
Yes and no, the gist of it is that dnsdist's FFI API is not documented at all, which is not great. It's also very low-level, by design, so it's hard to document in a meaningful way, but in the future we should do better than no documentation at all. |
Looked good from what I read |
I removed the pdns_string_view alias in PowerDNS#12417 as it was no longer used, but merging PowerDNS#11511 actually reintroduced it, breaking the build.
I removed the pdns_string_view alias in PowerDNS#12417 as it was no longer used, but merging PowerDNS#11511 actually reintroduced it, breaking the build.
Short description
In some setups, we might need to get the result for a different qname and change the response to set the owner names of the records matching the changed qname back to the initial qname. Note that this is brittle and should only be used in very specific cases.
This PR is based on top of #12388 and will have to be rebased.Checklist
I have: