Skip to main content

Sane, modular DNS authority (SOA) record parsing

Project description


Sane, modular DNS SOA record parsing

Fields are based on

The best-guess email addresses are parsed from the rname field:

  • Replacing with @:
    • the second from last . (email_parsed_last)
    • the first . (email_parsed_first)

Trailing periods are stripped


import json
import soaparse

soa_record_str = " 20200101 60 3 2 1"
soa = soaparse.soa_parse(soa_record_str)


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.3.0.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

soaparse-1.3.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded py3

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