Bug 9601 - resolver problems: invalid NS taken from disabled interface static config, OpenDNS preferred to local NS
: resolver problems: invalid NS taken from disabled interface static config, Op...
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.2
: PC Windows XP
: -- major (vote)
: 7.x
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-28 12:18 UTC by caseq
Modified: 2009-07-31 10:30 UTC (History)
0 users

See Also:
Category: ---


Attachments
squeezecenter log file (4.28 KB, text/plain)
2008-09-28 12:18 UTC, caseq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description caseq 2008-09-28 12:18:40 UTC
Created attachment 4078 [details]
squeezecenter log file

SETUP: I have two NICs on my notebook -- a WiFi card (currently active) and an unused 100BaseT. The wired interface is disconnected and disabled (!), but has a static configuration that includes a name server.

BUG #1: Slim::Networking::Async::DNS uses Net::DNS::Resolver to obtain the list of name servers. The latter scans the configuration of all adapters, and picks both the usable NS from WiFi card and unusable one from disabled wired 100BaseT interface. This is clearly a bug on part of Net::DNS::Resolver, but it wouldn't be fatal if not for...

BUG #2: Slim::Networking::Async::DNS runs the check for NS availability. The server obtained from WiFi interface answers ok, and the one from the wired interface doesn't (not a surprise). Based on that, Slim::Networking::Async::DNS not to use any local NS at all and switches automatically to OpenDNS. Using OpenDNS does not work for me, as  my home network is behind a NAT/firewall and has a limited UDP connectivity.

SUGGESTIONS: give priority to using local NS servers, when at least some are available. Switching to OpenDNS upon first fault should not be considered a reliable solution, as in many environments the external NS may be inaccessible.

Please find the log file attached (10.12.68.1 is a working NS, a local WiFi router, and 217.15.16.1 is a dead NS obtained from disabled 100BaseT interface). 

I set the severity to major, as the combination of these two bugs rendered the out-of-box SqueezeCenter unusable on my PC, and I believe the setup that I have is not so uncommon.
Comment 1 Andy Grundman 2008-10-14 08:18:59 UTC
Fixed in 7.3 change 23558.
Comment 2 James Richardson 2008-12-15 12:07:59 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 3 Chris Owens 2009-07-31 10:30:21 UTC
Reduce number of active targets for SC