Page 2 of 2

Re: DNS Resolution Problem

Posted: 2007/06/07 21:57:35
by michaelnel
sb3:/usr/bin# ldd nslookup => /usr/lib/ (0x00b4e000) => /usr/lib/ (0x00111000) => /lib/ (0x00148000) => /lib/ (0x00d79000) => /lib/tls/ (0x00231000) => /lib/tls/ (0x00289000) => /usr/lib/ (0x00c5d000) => /usr/lib/ (0x00dad000) => /lib/ (0x00243000) => /usr/lib/ (0x004c5000) => /lib/ (0x00246000) => /lib/ (0x00259000) => /usr/lib/ (0x0025d000)
/lib/ (0x004ef000)

sb3:/usr/bin# ldd /bin/ping => /lib/ (0x00593000) => /lib/tls/ (0x00233000)
/lib/ (0x00601000)

Note that they both use libresolv, but nslookup also uses libdns.

Can /usr/bin/host resolve on your machine? It seems to use the same libs as nslookup.

Re: DNS Resolution Problem

Posted: 2007/06/08 09:50:35
by nikko_bosatsu
@ michaelnel
Hi michael, I use strace, for nslookup, ping, and host. I think the problem because "/lib/tls/i686/" missing :-(. After I googling apparently that file is part of glibc. :-(.

Thanks All for the help,