File: test4.py

package info (click to toggle)
py3dns 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 260 kB
  • ctags: 445
  • sloc: python: 2,035; makefile: 10
file content (10 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python3

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

import DNS

DNS.ParseResolvConf()

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