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

Make IPv6 DNSSEC tracing work, and revert to previous behaviour otherwise #245

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

paul-internetnz
Copy link
Contributor

@paul-internetnz paul-internetnz commented Aug 1, 2024

IPv6 DNSSEC trace ("secure trace") does not currently work because only A records are permitted for NSs that are used to trace down from the root. AAAA records are needed for that. Currently an IPv6 DNSSEC trace fails after asking the root, because drill has no valid NSs to continue with.

With this patch, if drill is executed without "-6", the previous behavior continues, with only A records being used.
This is not optimal because without the "-4" or "-6" command line parameters, drill is supposed to randomly use either v4 or v6, as indicated by the LDNS_RR_TYPE_ANY default for qfamily, but there is no LDNS_RR_TYPE_A_AND_AAAA RR descriptor and I don't know how to join two results of the ldns_rr_list data type.
Thanks to Felipe Barbosa for reviewing and input.

…wise

If drill is executed without "-6", the previous behavior continues, with only A records being used.
@wtoorop
Copy link
Member

wtoorop commented Aug 27, 2024

Thanks @paul-internetnz . This looks perfect. I agree that not specifying -4 or -6 should enable both A and AAAA, but I'll accept this now and hopefully someone will pick up that still missing feature sometime.

@wtoorop wtoorop merged commit c1170a8 into NLnetLabs:develop Aug 27, 2024
wtoorop added a commit that referenced this pull request Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants