Skip to main content

Validate DNS Zones programmatically

Project description

PyZoneValidator

Code example:

zv = zoneValidator()
from pprint import pprint
pprint(zv.validate('dnssec-failed.org', fail_if_not_signed=False))

# Output:
#{'errors': [DNSSEC_DS_AND_DNSKEY_RECORD_DO_NOT_MATCH: DNSSEC: DS and DNSKEY key do not align for zone 'dnssec-failed.org'. [dns102.comcast.net.],
#            DNSSEC_DS_AND_DNSKEY_RECORD_DO_NOT_MATCH: DNSSEC: DS and DNSKEY key do not align for zone 'dnssec-failed.org'. [dns101.comcast.net.],
#            DNSSEC_DS_AND_DNSKEY_RECORD_DO_NOT_MATCH: DNSSEC: DS and DNSKEY key do not align for zone 'dnssec-failed.org'. [dns105.comcast.net.],
#            DNSSEC_DS_AND_DNSKEY_RECORD_DO_NOT_MATCH: DNSSEC: DS and DNSKEY key do not align for zone 'dnssec-failed.org'. [dns103.comcast.net.],
#            DNSSEC_DS_AND_DNSKEY_RECORD_DO_NOT_MATCH: DNSSEC: DS and DNSKEY key do not align for zone 'dnssec-failed.org'. [dns104.comcast.net.]],
# 'warnings': []}

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

pyzonevalidator-0.3.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

pyzonevalidator-0.3.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pyzonevalidator-0.3.2.tar.gz.

File metadata

  • Download URL: pyzonevalidator-0.3.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.5 Darwin/20.6.0

File hashes

Hashes for pyzonevalidator-0.3.2.tar.gz
Algorithm Hash digest
SHA256 8253730d6f6460397d409eb7a8787440860f741a63a120bd09eceedb726ceca5
MD5 6309a98f1a894b90672c3b0da9ebe420
BLAKE2b-256 30b67bab17482f8afe294d002d3af32323de4512b186791d55aef4786c5a6942

See more details on using hashes here.

File details

Details for the file pyzonevalidator-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyzonevalidator-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.5 Darwin/20.6.0

File hashes

Hashes for pyzonevalidator-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d3defdf679c603be2908e159ca43c6ddc431cb87db4490291bfd17251f94c8
MD5 56695a85067a23d55440572e1836cabb
BLAKE2b-256 c1ebd5b7f73a4afdb2ab07b124fec5133cd6952ee4cebd1d0f39886689376a10

See more details on using hashes here.

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