summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 2e81eb3b..170b35f0 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -141,6 +141,14 @@ class ClientXMPP(BaseXMPP):
use_tls=use_tls, reattempt=reattempt)
def get_dns_records(self, domain, port=None):
+ """
+ Get the DNS records for a domain.
+ Overridden XMLStream.get_dns_records to use SRV.
+
+ Arguments:
+ domain -- The domain in question.
+ port -- If the results don't include a port, use this one.
+ """
if port is None:
port = self.default_port
if DNSPYTHON: