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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8253730d6f6460397d409eb7a8787440860f741a63a120bd09eceedb726ceca5 |
|
MD5 | 6309a98f1a894b90672c3b0da9ebe420 |
|
BLAKE2b-256 | 30b67bab17482f8afe294d002d3af32323de4512b186791d55aef4786c5a6942 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d3defdf679c603be2908e159ca43c6ddc431cb87db4490291bfd17251f94c8 |
|
MD5 | 56695a85067a23d55440572e1836cabb |
|
BLAKE2b-256 | c1ebd5b7f73a4afdb2ab07b124fec5133cd6952ee4cebd1d0f39886689376a10 |