I'm trying to do the equivalent of these:
nslookup -query=mx cnet.com ns.cnet.com
host -t soa webshots.com ns3.cnet.com
dig @ns2.cnet.com -t A webshots.com
Unfortunately, I have not managed to get this to query a specified
nameserver.
Trying
dns.resolver.Resolver.nameserver=["127.0.0.1"]
q=dns.resolver.query("playground","a")
for rdata in q:
print rdata
Does NOT query 127.0.0.1, but apparently follows /etc/resolv.conf
Could somebody point me in the right direction?
Thank you
David
_______________________________________________
dnspython-users mailing list
[email protected]
http://woof.play-bow.org/mailman/listinfo/dnspython-users