summaryrefslogtreecommitdiff
path: root/examples/mx.py
diff options
context:
space:
mode:
authorBob Halley <halley@play-bow.org>2016-09-20 05:45:34 -0700
committerBob Halley <halley@play-bow.org>2016-09-20 05:45:34 -0700
commit34e2240a4b3a800331fd77c724bdca67d095a2bc (patch)
tree4d031a0cc63ddbba689e0b8c4dd630b7e053c570 /examples/mx.py
parentd0d43f95770eac75cfd8c5ba2b7ca7df7d14a3f0 (diff)
downloaddnspython-34e2240a4b3a800331fd77c724bdca67d095a2bc.tar.gz
redirect to dnspython
Diffstat (limited to 'examples/mx.py')
-rwxr-xr-xexamples/mx.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/mx.py b/examples/mx.py
deleted file mode 100755
index 06189dd..0000000
--- a/examples/mx.py
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env python3
-
-import dns.resolver
-
-answers = dns.resolver.query('nominum.com', 'MX')
-for rdata in answers:
- print('Host', rdata.exchange, 'has preference', rdata.preference)
-