Blocking DNS lookup on MC startup



Hello,

I start MC 4.6.0 on a Linux box with a default route and a 
nameserver into /etc/resolv.conf.

When the internet connection is down I experience a very very 
long delay on MC startup.

From a tcpdump trace I see that Midnight Commander tries to 
resolve several names for each existing network interface:

  61383+ A? lo.texnet.org. (31)
  61384+ A? lo. (20)
  61387+ A? LO.texnet.org. (31)
  61388+ A? LO. (20)
  61391+ A? eth0.texnet.org. (33)
  61392+ A? eth0. (22)
  61393+ A? ETH0.texnet.org. (33)
  61394+ A? ETH0. (22)

texnet.org is the "search" domain in resolv.conf.

Each request is repated several times and take up a lot of time 
before timeout.

Why this annoying lookup? Is there a way to avoid it?

Waiting 2-3 minutes before seeing the blue screen is frustrating, 
also frustrating is to be requested to cut the route to any DNS 
server before starting MC...

Thank you.

-- 
Niccolo Rigacci
Firenze - Italy

Iraq, missione di pace: 37918 morti - www.iraqbodycount.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]