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

fixing possible bug affecting domains ending with . #9

Closed quirins closed 7 years ago

quirins commented 7 years ago

Hi, I think there was a bug in treating domains ending with '.' I am not sure what your code intended to do, but guess that replacing the '.' with '\0' would be reasonable?

Observable behaviour (reading test.de.) from STDIN before patch: massdns hanging up After patch: Fine

Kind regards Quirin