Skip to content

Nextpertise/pyzonevalidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyZoneValidator

Code example:

from pyzonevalidator import pyzonevalidator
from pprint import pprint


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

# Output:
#{'errors': ['DNSSEC_DS_AND_DNSKEY_RECORD_DO_NOT_MATCH: DNSSEC: DS and DNSKEY '
#            "key do not align for zone 'dnssec-failed.org'. "
#            '[dns104.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'. "
#            '[dns103.comcast.net.]',
#            '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'. "
#            '[dns105.comcast.net.]'],
# 'warnings': []}

About

Python Zone Validator - To test your DNS zones programmatically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages