Skip to main content

Sane, modular DNS authority (SOA) record parsing

Project description

soaparse

Sane, modular DNS SOA record parsing

Fields are based on https://www.ripe.net/publications/docs/ripe-203

The best-guess email address is parsed from the rname field

Trailing periods are stripped

Usage

import json
import soaparse

soa_record_str = "ns.example.com. email.example.com. 20200101 60 3 2 1"
soa = soaparse.soa_parse(soa_record_str)

json.dumps(soa.__dict__)

Project details


Download files

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

Source Distribution

soaparse-1.1.1.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

soaparse-1.1.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page