vfs_glusterfs: Implement AIO support
[Samba.git] / lib / dnspython / examples / mx.py
blob3036e70ddf3ead96df677600e8c199232573b83a
1 #!/usr/bin/env python
3 import dns.resolver
5 answers = dns.resolver.query('nominum.com', 'MX')
6 for rdata in answers:
7 print 'Host', rdata.exchange, 'has preference', rdata.preference