Subject: | Infinite loop doing CNAME recursion |
Looking at the new CNAME recursion code I see that
ParaDNS::Resolver::Query::recurse_cname method should stop recursion,
but it can't because the recursive lookup is made by new query, with
nqueries member initialized to zero.
I found this on an async qpsmtpd server not working properly because it
was busy repeating the same DNS query. It was doing a lookup for a host
that was incorrectly configured as an alias to itself.
Please check, thank you!