Make PomeloClient class support parsing DNS.