On Thu, May 29, 2014 at 11:30:58PM +0200, Harald Becker wrote: > Hi Rich ! > > >> bbox nslookup uses libc to perform the lookup. > > >However, it may be nice to have an option for bb nslookup to > >turn off v6 lookups if such an option doesn't already exist. > > The problem has been solved by placing "single-request" option > in /etc/resolv.conf. So it was a glibc related problem.
This option is a workaround for buggy nameserver software on some routers that hangs when you perform multiple requests at the same time. It's far from being a complete workaround since multiple processes/threads (or even different machines behind the router) might make simultaneous requests in a way that hangs the router. The correct fix is not to use the built-in nameserver on such routers but to instead either configure a local nameserver on 127.0.0.1 or use a third-party one (e.g. 8.8.8.8). Or replace the router's firmware with OpenWRT if possible. Rich _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
