[Pkg-samba-maint] Bug#591752: samba-common: please change the name resolv order

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Aug 6 04:03:02 MDT 2010


On Thu, Aug 05, 2010 at 02:27:57PM +0200, Fabian Greffrath wrote:
> Please don't get me wrong, I know this is absolutely not samba's but 
> our ISP's fault. But by internet research I found quite a lot of 
> people with similar problems and would thus like to propose a general 
> resolution for this problem. This solution would be to put "bcast" 
> before "host"  in the name resolv order list and only have the latter 
> as a fallback, i.e. "lmhost bcast host wins".

The reason why we do it this way is the additional timeout
we would run into. More and more networks have DNS
configured these days, and if we put broadcast before DNS,
we would run into a timeout before we tried DNS every single
time. A better way might be to do all the methods in
parallel, but if *some* method gives a positive result, how
do we judge if that is actually the result you desire?

I know broken DNS redirects are very popular with home DSL
connects, but there is probably not much that Samba can do
about that.

Another mis-configuration might be the fact that your local
DNS queries are forwarded to the ISP at all. Why does that
happen? This might be at best an information leak.

Volker


More information about the samba-technical mailing list