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

Bogus SERVFAIL and Test updates #36

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rithvikvibhu
Copy link

Closes #35 and maybe even #28 (for second part, doesn't check cd).

Changes:

Also fixes tests (I can split it into a separate PR if needed):

  • proof-test.js: iis.se is no longer weak, changed to false
  • stub-test.js: mail.google.com doesn't have a CNAME, so replaced it with onedrive.live.com
  • KSK 2010 -> KSK 2017 in tests
  • Updates root.zone in test/data/ with latest from https://www.internic.net/domain/root.zone
  • Updates test data for com.
  • Updates tests with new sizes, etc.

Comment on lines +146 to +147
if (res.code === codes.SERVFAIL) {
rc.bogus = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for setting bogus here? SERVFAIL doesn't necessarily mean bogus it could happen for many many reasons. It seems that the code path throws anyway if response code is something other than NOERROR.

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.

Return SERVFAIL when dnssec fails to validate
2 participants