repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs_glusterfs: Implement AIO support
[Samba.git]
/
lib
/
dnspython
/
examples
/
mx.py
blob
3036e70ddf3ead96df677600e8c199232573b83a
1
#!/usr/bin/env python
2
3
import
dns
.
resolver
4
5
answers
=
dns
.
resolver
.
query
(
'nominum.com'
,
'MX'
)
6
for
rdata
in
answers
:
7
print
'Host'
,
rdata
.
exchange
,
'has preference'
,
rdata
.
preference