-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
nsupdate: issues/4657 #5377
nsupdate: issues/4657 #5377
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Thanks for your contribution! Could you please add a changelog fragment? Thanks. |
This comment was marked as outdated.
This comment was marked as outdated.
Please note that the issues in #5377 (comment) are still waiting to be resolved. |
Fixed lint
Co-authored-by: Felix Fontein <[email protected]>
8c5c2c4
to
71c0729
Compare
I hope I did the rebase correctly. |
@Simon-TheUser looks good, thank you! Now also the bot informed the module maintainer. |
If nobody complains, I'll merge this by the end of this week. |
Sorry, defining now as the end of week ;) |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5460 🤖 @patchback |
@Simon-TheUser thanks for your contribution! |
* Insert new entries before deleting old ones. resolves #4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 5cb9a9e)
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
* Insert new entries before deleting old ones. resolves #4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 5cb9a9e) Co-authored-by: Simon-TheUser <[email protected]>
* Insert new entries before deleting old ones. resolves ansible-collections#4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
* Insert new entries before deleting old ones. resolves ansible-collections#4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
* Insert new entries before deleting old ones. resolves ansible-collections#4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
* Insert new entries before deleting old ones. resolves ansible-collections#4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
* Insert new entries before deleting old ones. resolves ansible-collections#4657 * Slight wording changes. * lint fix * Address lint * Added changelog Fixed lint * More linting * Update changelogs/fragments/5377-nsupdate-ns-records-with-bind.yml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
SUMMARY
Fixes #4657
The "modify_record" method of the nsupdate module uses a delete-first approach to DNS updates. This prevents any updates to the NS records against Bind9 DNS servers.
This MR changes this behavior where updates to NS records will insert and update existing records, then perform the deletes.
ISSUE TYPE
COMPONENT NAME
plugins/modules/net_tools/nsupdate.py
ADDITIONAL INFORMATION
I have been using this patch in my infrastructure for 2 months without any side issues.