"kenkahn" <(E-Mail Removed)> said:
>Where can I find the soure for the Linux 'host' command. I tried
>ftp.uu.net without luck. I'm trying to determine how it translates an
>IP address (aa.bb.cc.dd) to a real host name. I've tried gethostbyaddr
>without luck (returns rc=1 which is EPERM).
On my system (SUSE) it appears to be part of bind-utils package
(found this out with "rpm -qf /usr/bin/host"). "rpm -qi bind-utils"
tells among other things that the original software can be found
from
http://isc.org/sw/bind/ .
(and of course, by getting the corresponding src.rpm package from some
SUSE mirror, I'd get the source with any patches specific to the SUSE
distribution).
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)