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

The DNS query name does not exist in Step 4 #7

Closed SvenVD-be closed 3 years ago

SvenVD-be commented 3 years ago

For some domains I get

Step 4: sort which ones are cyclic

analyzying xxxxxx.zone.. Domain 12 from 14 The DNS operation timed out after 5.1041343212127686 seconds The DNS operation timed out after 5.105474233627319 seconds <class 'dns.exception.Timeout'> The DNS query name does not exist: N. The DNS query name does not exist: N. The DNS query name does not exist: X. The DNS query name does not exist: X. The DNS query name does not exist: D. The DNS query name does not exist: D. The DNS query name does not exist: O. The DNS query name does not exist: O. The DNS query name does not exist: M. The DNS query name does not exist: M. The DNS query name does not exist: A. The DNS query name does not exist: A. The DNS query name does not exist: I. The DNS query name does not exist: I. The DNS query name does not exist: N. The DNS query name does not exist: N.

So it seems that if all NS of a zone do not reply or do not reply with useful data, the script does something not expected or does not have a managed case to handle it?

SvenVD-be commented 3 years ago

I tried a quick fix in https://github.com/SIDN/CycleHunter/pull/8

gmmoura commented 3 years ago

perfect! I merged your PR already, so I'll makr this as fixed