mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
7 lines
136 B
Python
7 lines
136 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
import dns.reversename
|
||
|
n = dns.reversename.from_address("127.0.0.1")
|
||
|
print n
|
||
|
print dns.reversename.to_address(n)
|