blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.1k stars 459 forks source link

Fix abort on malformed CAA replies #13

Closed quirins closed 7 years ago

quirins commented 7 years ago

Very few (3 of dozens of millions) domains reply with invalid responses to CAA requests. Massdns used to abort() on receiving an error from ldns for these packets. This patch fixes this behavior by (a) marking the affected domain as failed and not retrying it (b) logging this to a file with a timestamp.