We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9533c3 commit 2e94e9aCopy full SHA for 2e94e9a
lib/ansible/plugins/lookup/dnstxt.py
@@ -84,6 +84,8 @@ def run(self, terms, variables=None, **kwargs):
84
string = 'NXDOMAIN'
85
except dns.resolver.Timeout:
86
string = ''
87
+ except dns.resolver.NoAnswer:
88
+ string = ''
89
except DNSException as e:
90
raise AnsibleError("dns.resolver unhandled exception %s" % to_native(e))
91
0 commit comments