Query regarding DNS client on BusyBox

Ranga Raju B brraju at hyd.hellosoft.com
Wed Apr 26 05:52:02 UTC 2006


Alexander Griesser wrote:

>Ranga Raju B wrote:
>  
>
>>The dependencies of nslookup are
>>/etc # ldd /bin/nslookup
>>        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000)
>>        libc.so.6 => /lib/libc.so.6 (0x40051000)
>>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>>/etc #
>>    
>>
>
>Which means you are using the busybox nslookup applet instead
>of the complete nslookup binary. I didn't try with this applet,
>but now I did and it works too for me.
>
>  
>
>>/etc # ping www.yahoo.com
>>ping: www.yahoo.com: Resolver Error 0 (no error)
>>/etc #
>>    
>>
>
>Hmm... You could try to install the strace binary in your busybox
>environment and strace the ping function:
>
>strace -f -o /tmp/trace.out ping www.yahoo.com
>
>The output file /tmp/trace.out should give you a clue about why
>this doesn't work (search for Resolver Error, and the lines above
>Resolver Error to see if it tries to open libraries, that are not
>available on your system).
>
>  
>
>>/etc # nslookup www.yahoo.com
>>*** Unknown host
>>    
>>
>
>I get this message if the host really can't be found, so my question
>here has to be:
>Does your nameserver (192.168.2.3) really know about hosts in the
>internet? e.g. is it a forwarding dns server or at least one with
>links to the root zones?
>
>  
>
>>Can you please tell me why I am getting this Resolver Error?
>>    
>>
>
>I don't know exactly, maybe i got the same error message in the past,
>but then I can't remember today how I solved it...
>
>The best bet would be to produce the strace output file and if you
>can't get the desired information out of this file, send it to me
>via e-mail.
>
>ciao,
>Alex
>
>  
>
I have added all the libnss libraries and libresovl that solved my 
problem. I was able to ping www.yahoo.com.
Thank you very much for your help.

Best Regards
Ranga Raju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060426/991a7ae6/attachment-0001.htm 


More information about the busybox mailing list