Skip to main content
reverse-dns-py license reverse-dns-py release reverse-dns-py build

Overview

The client library for Reverse DNS API in Python language.

The minimum Python version is 3.6.

Installation

pip install reverse-dns

Examples

Full API documentation available here

Create a new client

from reversedns import *

client = Client('Your API key')

Make basic requests

terms = [{
    'field': 'domain',
    'term': 'foo*'
}]

# Get DNS records for matching domains (up to 1000)
result = client.get(terms=terms, record_type=Client.TXT)

# Total count
print(result.size)

Extras

terms = [
    {
        'field': 'domain',
        'term': 'blog*'
    },
    {
        'field': 'value',
        'term': 'foo*',
        'exclude': True
    }
]

# Exclude specified records for matching domains and get raw XML response
raw_result = client.get_raw(
    terms=terms,
    record_type=Client.CNAME,
    limit=2,
    output_format=Client.XML_FORMAT)

Response model overview

Response:
    - result: [Record]
        - value: str
        - name: str
        - first_seen: str
        - last_vist: str
    - size: int

Changelog

1.0.0 (2021-12-09)

  • First release

Metadata

Release files for reverse-dns 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reverse-dns 1.0.0
File Size Uploaded
reverse-dns-1.0.0.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reverse-dns 1.0.0
File Interpreter ABI Platform
reverse_dns-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 kB

Release files / reverse-dns-1.0.0.tar.gz

Download URL reverse-dns-1.0.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bec3ee4492b0e2757c0a05b876be250f76b18ce356065259df7eeed7f306006c
BLAKE2b-256 checksum
How to use checksums
b549a9d23a65c351fb59c34ca09d263e2606850330450f70032482a7385ea535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

Release files / reverse_dns-1.0.0-py3-none-any.whl

Download URL reverse_dns-1.0.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e35b5be3e75a65bc796eb53cc0975beb747ebb9c3f564f153f9e4de4b8b23353
BLAKE2b-256 checksum
How to use checksums
4b0629adb4f559ff49b0b6bfff861e193dcaeaed2b10f091ed93053c2221eccd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page