Subject: Re: c-ares question: improper DNS server queried?

Re: c-ares question: improper DNS server queried?

From: David Stuart <dstuart_at_counterpath.com>
Date: Wed, 29 Aug 2012 16:26:14 -0400

Yes, I know .. it's kind of hard to specify. Windows has a certain order
it goes through, but it will eventually try all the DNS servers:

http://technet.microsoft.com/en-us/library/dd197552%28WS.10%29.aspx

The customer in question has a split-horizon configuration where the
order matters. They claim the interfaces would be queried in the correct
order, providing that c-ares obeys the disabled/enabled status.

On 12-08-29 01:38 PM, Steinar H. Gunderson wrote:
> 2012/8/29 David Stuart <dstuart_at_counterpath.com>:
>> I'm particularly interested if any bugs in this area were recently
>> fixed, or any theories as to how this could happen in any case. The
>> scenario is, they statically configure a public DNS server, 8.8.8.8
>> (google's) on a bluetooth adapter. The adapter is disabled but somehow a
>> DNS query is sent to that address.
>
> I've seen bugs on Windows before where it disregards the
> active/disabled status of an address. For instance, if you have
> Internet Connection Sharing enabled from a disabled interface, it
> would still send IPv6 Router Advertisements for 6to4 on other
> interfaces (breaking others' IPv6 connectivity).
>
> Per-adapter DNS servers is a pretty broken concept anyhow. How do you
> know what adapter to use before you know what IP address you're trying
> to contact?
>
> /* Steinar */
>

-- 
David Stuart, CounterPath
Email: dstuart (at) counterpath (dot) com
Phone: (613) 254-8886 x2234  Web: http://www.counterpath.com/
Address: 310 - 350 Terry Fox Drive, Kanata Ontario, K2K 2P5
Received on 2012-08-29