Skip to content

cudle/zonefile-analyz0r

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zonefile validation

Installation

brew install pipenv

Execute

$ pipenv shell
$ pipenv install
$ python check.py

Usage: python check.py [FILE] [MY_DOMAIN]
    [FILE] zone file
    [MY_DOMAIN] treat this domain as 1st party

Output may look like this

$ python check.py zonefile_sample welt.de

[CNAME] Probably First Party:
www.welt.de -> welt.de.edgekey.net
HTTP  [301] -> https://www.welt.de/ [200]
HTTPS [200]

amp.welt.de -> amp.up.welt.de
HTTP  [301] -> https://amp.welt.de/ [404]
HTTPS [404]

[CNAME] Probably 3rd Party:
gutscheine.welt.de -> a.welt-gutscheine.de
HTTP  [301] -> https://gutscheine.welt.de/ [200]
HTTPS [200]

A records:
flatworld.welt.de
HTTP  [301] -> https://www.welt.de/politik/ausland/ [200]
HTTPS [ERR]

About

it analzyes zonefiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%