does anyone know how to resolve an external domain name with Dns.GetHostEntry() behind a proxy?
I already tried to indicate the proxy information in my App.config (< defaultProxy >) but it doesn’t work.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you’re talking about an HTTP proxy and the firewall doesn’t allow DNS traffic through then it can’t be done using the DNS protocol.
One thing you might be able to do is to use an HTTP request against a service like http://network-tools.com and parse the response.