You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not resolve names which require use of system search domains.
It looks '.' is forcefully added to name and this behavior is NOT DESCRIBED and can't be overriden.
The community.general.dig lookup work fine with the same input.
fatal: [nifi-1]: FAILED! => {"msg": "Unexpected DNS error for nifi-1: All nameservers failed to answer the query nifi-1. IN A: Server 127.0.0.53 UDP port 53 answered SERVFAIL"}
The text was updated successfully, but these errors were encountered:
The difference between the dig lookup and this one is that dig uses Resolver.query(), which calls Resolver.resolve() with search=True; this lookup uses Resolver.resolve() directly, which defaults to search=False. (Also the lookup uses dns.name.from_unicode(to_text(target)) to parse the input, which converts the input to absolute unless root=None is passed to from_unicode().)
SUMMARY
Does not resolve names which require use of system search domains.
It looks '.' is forcefully added to name and this behavior is NOT DESCRIBED and can't be overriden.
The
community.general.dig lookup
work fine with the same input.ISSUE TYPE
COMPONENT NAME
community.dns.lookup lookup
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 22.04.3 LTS
STEPS TO REPRODUCE
Try to resolve short host names which require search domain usage
EXPECTED RESULTS
['172.16.0.125']
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: