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

auth API: rectify after bumping serial, so the SOA record also gets rectified #12677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Habbie
Copy link
Member

@Habbie Habbie commented Mar 23, 2023

Short description

I think the old behaviour is harmless, as other records (like the apex NSset) will fill out the NSEC3 chain nicely, but it's better to be entirely correct.

Needs a test. (to reproduce, do remember to set SOA-EDIT-API. DEFAULT is good enough.)

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)
  • checked that this code was merged to master

@Habbie Habbie added this to the auth-4.8.0 milestone Mar 23, 2023
@@ -826,6 +810,22 @@ static void updateDomainSettingsFromDocument(UeberBackend& B, const DomainInfo&
}
}
}

// Rectify
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// Rectify
// Rectify after ALL RRset modifications are done (incl. SOA)

Copy link
Contributor

Choose a reason for hiding this comment

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

The proposed comment is confusing. Rectify is also triggered by non rrset changes here.

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, in fact my test case was changing nsec3param!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// Rectify
// Rectify. This needs to happen after all (RRset and other) modification are done, incl. automatic RRs.

@Habbie Habbie removed this from the auth-4.8.0 milestone Feb 15, 2024
@Habbie Habbie added this to the auth-5 milestone Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants