community.general/plugins/lookup
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
..
bitwarden.py [PR #8557/6e0142fe backport][stable-9] bitwarden: Fix KeyError in search_field (#8549) (#8563) 2024-06-27 10:19:35 +00:00
bitwarden_secrets_manager.py bitwarden_secrets_manager: implement rate limit retry with backoff (#8238) 2024-04-21 14:55:27 +02:00
cartesian.py stop passing loader/dataloader since it has been deprecated by ansible (#6074) 2023-02-25 15:29:27 +01:00
chef_databag.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
collection_version.py Drop support for ansible-core 2.11 and 2.12 (#7269) 2023-10-11 16:13:14 +02:00
consul_kv.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
credstash.py [PR #8822/7e978c77 backport][stable-9] use dict comprehension in plugins, part 2 (#8832) 2024-09-05 22:01:56 +02:00
cyberarkpassword.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
dependent.py Use semantic markup (modules a-c) (#6671) 2023-06-15 15:46:33 +02:00
dig.py [PR #8966/5e6b8e53 backport][stable-9] dig lookup: Allow to pass port for DNS lookup (#9004) 2024-10-07 23:10:04 +02:00
dnstxt.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
dsv.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
etcd.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
etcd3.py Improve seealso (#6766) 2023-06-22 13:16:22 +02:00
filetree.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
flattened.py Use semantic markup (modules a-c) (#6671) 2023-06-15 15:46:33 +02:00
github_app_access_token.py Fix plugin call in example (#8114) 2024-03-20 08:15:38 +01:00
hiera.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
keyring.py Lookups: use Ansible's config manager whenever possible (#5440) 2022-11-01 21:58:46 +01:00
lastpass.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
lmdb_kv.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
manifold.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
merge_variables.py [PR #8580/a3989095 backport][stable-9] merge_variables: correct misleading short description (#8591) 2024-07-06 21:31:45 +02:00
onepassword.py [PR #8833/26df6c76 backport][stable-9] use dict comprehension in plugins, part 3 (#8835) 2024-09-08 14:46:13 +02:00
onepassword_doc.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
onepassword_raw.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
passwordstore.py [PR #8952/24f2b980 backport][stable-9] passwordstore: Support subkey creation and update (#8996) 2024-10-07 22:31:04 +02:00
random_pet.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
random_string.py [PR #8827/afd754e3 backport][stable-9] (doc) random_string lookup: fix examples (#8842) 2024-09-08 14:45:59 +02:00
random_words.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
redis.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
revbitspss.py Removed the redundant unicode prefixes (#8087) 2024-03-14 22:15:22 +01:00
shelvefile.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00
tss.py [PR #8626/daed4dcc backport][stable-9] Type options of lookup plugins (#8660) 2024-07-21 22:16:02 +02:00