community.general/plugins
patchback[bot] cc2794ad05
[PR #8966/5e6b8e53 backport][stable-9] dig lookup: Allow to pass port for DNS lookup (#9004)
dig lookup: Allow to pass port for DNS lookup (#8966)

dnspython accepts a port as part of the nameserver.

Currently, the nameservers are passed as strings which
leads dnspython to create Nameserver objects out of them
using the port that is currently set in the Resolver instance.
That creation of Nameserver objects is done right when the
`nameservers` property is set.
If a port is to be set by us, the `port` attribute of the
Resolver needs to be set before the nameservers are passed
to the Resolver so when the nameservers are passed, that new
port is used to create the Nameserver objects.
Therefore, the assignment of the `nameservers` property of the
Resolver is moved after the argument processing so the `port`
attribute is (if it's given in the lookup-call) definitely set
before the `nameservers` property.

(cherry picked from commit 5e6b8e5327)

Co-authored-by: JaegerMaKn <max.jaeger@knauf.com>
2024-10-07 23:10:04 +02:00
..
action [PR #8720/9a16eaf9 backport][stable-9] Fix pylint and pep8 issues exposed by latest ansible-core's ansible-test sanity checks (#8722) 2024-08-07 15:49:06 +02:00
become [PR #8623/a24ee93f backport][stable-9] Type options of become plugins (#8659) 2024-07-21 22:15:40 +02:00
cache [PR #8833/26df6c76 backport][stable-9] use dict comprehension in plugins, part 3 (#8835) 2024-09-08 14:46:13 +02:00
callback [PR #8741/73b54139 backport][stable-9] fix(opentelemetry): adjust default value for store_spans_in_file causing traces to be produced to a file named None (#8751) 2024-08-12 08:06:22 +02:00
connection [PR #8627/ce65eb87 backport][stable-9] Type options of connection plugins (#8662) 2024-07-21 22:16:12 +02:00
doc_fragments [PR #8983/5b4f4174 backport][stable-9] Update docs with references to man pages (#8994) 2024-10-07 22:19:29 +02:00
filter [PR #8814/ecc048bc backport][stable-9] Use dict comprehension in plugins (#8819) 2024-09-01 20:55:02 +02:00
inventory [PR #8917/89ad40db backport][stable-9] proxmox inventory: remove duplicated credentials line (#8919) 2024-09-25 14:01:03 +03:00
lookup [PR #8966/5e6b8e53 backport][stable-9] dig lookup: Allow to pass port for DNS lookup (#9004) 2024-10-07 23:10:04 +02:00
module_utils [PR #8990/447d4b02 backport][stable-9] redfish_config new bool parameter to automatically delete 'None' type volumes. (#9008) 2024-10-07 23:09:55 +02:00
modules [PR #8990/447d4b02 backport][stable-9] redfish_config new bool parameter to automatically delete 'None' type volumes. (#9008) 2024-10-07 23:09:55 +02:00
plugin_utils [PR #8814/ecc048bc backport][stable-9] Use dict comprehension in plugins (#8819) 2024-09-01 20:55:02 +02:00
test [PR #8595/8990f97b backport][stable-9] New Plugins #8594 (#8618) 2024-07-13 14:19:14 +02:00