CLFS + NSLookup

Dirk Kleinschmidt dirk.kleinschmidt at web.de
Tue Jan 17 16:37:19 PST 2006


Hi again,

I noticed that my CLFS is not able to do any kind of hostname lookups. I 
have no clue why this behavior appears.For example "ping www.heise.de" 
results in:

"ping: unknown host"

I double checked /etc/resolv.conf, tried several different nameservers 
but did not succeed in getting the corresponding ip address. The network 
connection is generally ok because I can ping every IP outside 
(including 193.99.144.85 which correspondends to www.heise.de). Another 
try in writing a C program using the gethostbyname function (used parts 
from http://gnosis.cx/publish/programming/sockets.html) resulted in an 
error (gethostbyname("www.heise.de") returns NULL). CLFS installs 
libresolv in 
http://www.linuxfromscratch.org/clfs/view/cross-lfs/ppc/final-system/glibc.html. 
I ran all test suites of glibc without any errors...

Any tips?

Dirk
.



More information about the cross-lfs mailing list