source:
trunk/server/lib/dnspython/examples/reverse_name.py
Last change on this file was 745, checked in by , 13 years ago | |
---|---|
File size: 142 bytes |
Line | |
---|---|
1 | #!/usr/bin/env python |
2 | |
3 | import dns.reversename |
4 | n = dns.reversename.from_address("127.0.0.1") |
5 | print n |
6 | print dns.reversename.to_address(n) |
Note:
See TracBrowser
for help on using the repository browser.