Python program to test DNS servers for recursion