Kevin Spencer
3/3/2008 2:20:00 PM
No, it's not possible without moving away from built-in classes, such as the
System.Net.Dns class, which does not allow you to configure the DNS server
it connects to. It is possible, of course, by writing a class that uses a
TCP Socket to send and receive queries to and from any DNS server.
--
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
"Alex Chudnovsky" <alexc@majestic12.co.uk> wrote in message
news:ehtwzmHfIHA.1824@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> I've got an application that heavily uses .NET HTTP functions, that in
> turn use DNS resolves - I would like to make my application use specific
> DNS servers that happen to be more reliable in terms of resolves than
> average consumer grade network setup, the question is whether it is
> possible at all in a .NET app without moving away completely from
> build-in HTTP library?
>
> Version of .NET in question is 2.0+.
>
> regards,
>
> Alex