[Bug 675] nslookup does not properly use second argument [SERVER]

bugzilla at busybox.net bugzilla at busybox.net
Tue Jun 25 19:09:39 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=675

--- Comment #4 from Alex <alex9627 at gmail.com> 2013-06-25 19:07:47 UTC ---
Created attachment 4964
  --> https://bugs.busybox.net/attachment.cgi?id=4964
Fix nslooup second argument use

Using _res directly is a convenient hack but getaddrinfo and friends            
are free to request a resolver reinitialization. I think that without
resorting too much to the libc internals a safe path is call set_default_dns
again after the first getaddrinfo. I've attached a patch for busybox
current that fixes the issue at least on Debian Wheezy and Openwrt AA (eglibc
based).

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list