Bob Tanner wrote:
I as able to do this
response = dns.resolver.query('101.101.101.128.in-addr.arpa', 'PTR')
Are there tools to convert 128.101.101.101 into 101.101.101.128.in-addr.arpa?
There is no such tool in the current release of dnspython. I've just
added one to the svn repository, so if you check that out (or wait until
the next release of dnspython) you'll be able to do this:
import dns.reversename
print dns.reversename.from_text('128.101.101.101')
It also supports IPv6.
/Bob
_______________________________________________
dnspython-users mailing list
[email protected]
http://woof.play-bow.org/mailman/listinfo/dnspython-users