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

Fix --dnssec and add a test #442

Merged
merged 3 commits into from
Sep 12, 2024
Merged

Fix --dnssec and add a test #442

merged 3 commits into from
Sep 12, 2024

Conversation

phillip-stephens
Copy link
Contributor

@phillip-stephens phillip-stephens commented Sep 12, 2024

Noticed that ./zdns A Cloudflare.com --dnssec --name-servers=1.1.1.1 wasn't returning an RRSIG record like it should. This PR fixes that.

When adding the CNAME/DNAME following code, I checked the type on all records as ans.(Answer). This meant that RRSIGAnswer (along with many other more complex types, I'm sure) wouldn't be captured.

This PR removes that type check and adds an integration test for DNSSEC.

@phillip-stephens phillip-stephens marked this pull request as ready for review September 12, 2024 19:23
@phillip-stephens phillip-stephens requested a review from a team as a code owner September 12, 2024 19:23
@zakird zakird merged commit f68bf09 into main Sep 12, 2024
3 checks passed
@zakird zakird deleted the phillip/fix-dnssec-and-add-tests branch September 12, 2024 19:50
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