SIDN / CycleHunter

Python software that reads zone files, extract NS records, and detect cyclic dependencies
https://tsuname.io
BSD 2-Clause "Simplified" License
37 stars 14 forks source link

fix largeZoneParser.py to detect if zone file is space or tab separated #9

Closed gmmoura closed 3 years ago

gmmoura commented 3 years ago

Zone files formatting isn't very straightforward. Some zone files are space separated, other tab separated.

We need to instrument largeZoneParser.py to detect that, and parse the zone accordingly. The most important requirement is to be able to retrieve the NS record itself.

ATM it only handles tab-separated zone files. Need to improve it to detect this, and find the exact position of the NS server

gmmoura commented 3 years ago

fixed on on the commit above