mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
4bbc3ff037
This also avoids it from being installed if it's already present on the system.
7 lines
136 B
Python
Executable File
7 lines
136 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import dns.reversename
|
|
n = dns.reversename.from_address("127.0.0.1")
|
|
print n
|
|
print dns.reversename.to_address(n)
|