Skip to main content

inarpa creates valid in-addr.arpa names of ipv4-addresses.

Project description

The module exposes the create function which takes a ipv4-address and optionally a suffix.

Example

>>> 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'

Installation

Install inarpa with pip install inarpa or just download inarpa.py and place it in your project directory.

License

BSD

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inarpa-0.1.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page