diff options
| author | Bob Halley <halley@play-bow.org> | 2016-09-20 05:45:34 -0700 |
|---|---|---|
| committer | Bob Halley <halley@play-bow.org> | 2016-09-20 05:45:34 -0700 |
| commit | 34e2240a4b3a800331fd77c724bdca67d095a2bc (patch) | |
| tree | 4d031a0cc63ddbba689e0b8c4dd630b7e053c570 /examples/mx.py | |
| parent | d0d43f95770eac75cfd8c5ba2b7ca7df7d14a3f0 (diff) | |
| download | dnspython-34e2240a4b3a800331fd77c724bdca67d095a2bc.tar.gz | |
redirect to dnspython
Diffstat (limited to 'examples/mx.py')
| -rwxr-xr-x | examples/mx.py | 8 |
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) - |
