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

[PR #5377/5cb9a9e4 backport][stable-5] nsupdate: issues/4657 #5460

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Nov 2, 2022

This is a backport of PR #5377 as merged into main (5cb9a9e).

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
  • Bugfix Pull Request
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.

* 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)
@patchback patchback bot mentioned this pull request Nov 2, 2022
@felixfontein felixfontein merged commit b871963 into stable-5 Nov 2, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-5/5cb9a9e4f0ff68670e5aa285263c01227b03d8af/pr-5377 branch November 2, 2022 19:29
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