implement, document, and test the 'max-query-restarts' option which specifies the query restart limit - the number of times we can follow CNAMEs before terminating resolution. (cherry picked from commit 104f3b82fb)
104f3b82fb