Info: | Read the documentation hosted at readthedocs. |
---|---|
Author: | Daniel Waardal |
The module exposes the create function which takes a ipv4-address and optionally a suffix.
>>> import inarpa
>>> inarpa.create('192.168.0.1')
'1.0.168.192.in-addr.arpa'
>>> inarpa.create('192.168.0.1', 'ix.dnsbl.manitu.net')
'1.0.168.192.ix.dnsbl.manitu.net'
Install inarpa with pip install inarpa or just download inarpa.py and place it in your project directory.