Hi Jussi,

this is exactly what we used as a solution. In the release notes of
connman 0.57 I found the hint that 0.57 should fix the bug
http://bugs.meego.com/show_bug.cgi?id=4818 ... after all it does not
fix the bug but at least it gave me the right idea. I've patched
connman's resolver.c to not add "options edns0" to rsolv.conf and this
fixed it. Now all issues with these special WiFi routers disappered.

I guess this patch should also be added to upstream connman?

Thanks for your help!

Toby

On 6 September 2010 09:53, Jussi Kukkonen <[email protected]> wrote:
> On 09/03/2010 10:05 PM, Tobias Schröpf wrote:
>>
>> Hi Connman devs,
>>
>> we are working on a MeeGo based tablet device. Now we found some
>> issues when connecting to some WiFi routers. It seems that (when
>> connected to one of these special routers) DNS resolution does stop to
>> work after some time of internet usage (about 5 minutes).
>>
>> After some research we found out that:
>> - adding a public DNS server to /etc/resolv.conf fixes the issue
>> - setting a public nameserver in connman (using the set-nameserver
>> test-script) fixes the issue (by default connman is configured to use
>> the router as DNS server)
>>
>> I'm not really sure what the cuase of this problem might be but
>> several people with similar routers (EasyBox) have reported the same
>> problem.
>>
>> But maybe the issue is connected with:
>> - connman's DNS cache (is there such a cache? can we deactivate it?)
>> - or maybe the router sends some strange DNS responses... how can we debug
>> this?
>>
>> Do you have any ideas how we can fix this issue?
>
> Hi,
>
> I've seen some complaints where the problems may have been related to the
> EDNS0 extension: connman defaults to using it but it is at least
> theoretically possible that crappy devices could have problems with it. I
> can't imagine why this would stop DNS from working altogether but maybe it's
> worth checking. You can test whether this is related to your problem by a
> couple of ways:
>
> 1. run "dig +short rs.dns-oarc.net txt" when using the router as dns server
> and read the output -- see more info on
> https://www.dns-oarc.net/oarc/services/replysizetest
>
> 2. Try removing the "options edns0" line from resolv.conf when you are
> seeing the problem.
>
>  - Jussi
> _______________________________________________
> connman mailing list
> [email protected]
> http://lists.connman.net/listinfo/connman
>
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to