File: test4.py

package info (click to toggle)
python-dns 2.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 216 kB
  • ctags: 319
  • sloc: python: 1,417; makefile: 9
file content (9 lines) | stat: -rwxr-xr-x 130 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/usr/bin/python

import sys ; sys.path.insert(0, '..')

import DNS

DNS.ParseResolvConf()

print DNS.mxlookup("connect.com.au")