mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
nsupdate: add server FQDN and GSS-TSIG support (#11425)
* nsupdate: support server FQDN Right now, the server has to be specified as an IPv4/IPv6 address. This adds support for specifing the server as a FQDN as well. * nsupdate: support GSS-TSIG/Kerberos Add support for GSS-TSIG (Kerberos) keys to nsupdate. This makes life easier when working with Windows DNS servers or Bind in a Kerberos environment. Inspiration taken from here: https://github.com/rthalley/dnspython/pull/530#issuecomment-1363265732 Closes: #5730 * nsupdate: introduce query helper function This simplifies the code by moving the protocol checks, etc, into a single place. * nsupdate: try all server IP addresses Change resolve_server() to generate a list of IPv[46] addresses, then try all of them in a round-robin fashion in query(). * nsupdate: some more cleanups As suggested in the PR review. * nsupdate: apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
864695f898
commit
9fcd9338b1
3 changed files with 170 additions and 55 deletions
2
changelogs/fragments/11425-nsupdate-gss-tsig.yml
Normal file
2
changelogs/fragments/11425-nsupdate-gss-tsig.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- nsupdate - add support for server FQDN and the GSS-TSIG key algorithm (https://github.com/ansible-collections/community.general/issues/5730, https://github.com/ansible-collections/community.general/pull/11425).
|
||||
Loading…
Add table
Add a link
Reference in a new issue