summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/xmlstream/resolver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/resolver.py b/slixmpp/xmlstream/resolver.py
index 3c3c9dda..379c53ac 100644
--- a/slixmpp/xmlstream/resolver.py
+++ b/slixmpp/xmlstream/resolver.py
@@ -152,7 +152,7 @@ async def resolve(host, port=None, service=None, proto='tcp',
return results
-def get_A(host, resolver=None, use_aiodns=True, loop=None):
+async def get_A(host, resolver=None, use_aiodns=True, loop=None):
"""Lookup DNS A records for a given host.
If ``resolver`` is not provided, or is ``None``, then resolution will