>Ok, i will test this. But, did nslookup not use them ?
No, I don't think nslookup uses gethostby*. I've always been under the
impression nslookup only does DNS queries, which are the layer below
the gethostby* routines. I wouldn't, for instance, use it to debug an
NIS problem.
It's entirely possible you have your DNS setup correct but the system is
configured to look someplace else first (/etc/hosts, NIS, a crystal ball).
So nslookup would say everything is fine (with DNS) but the gethostby*
calls (that Amanda uses) would still fail.
I think the "host" command that comes with "bind" might do the gethostby*
calls, but to be certain, I use:
ftp://gandalf.cc.purdue.edu/pub/amanda/gethostbyaddr.c
ftp://gandalf.cc.purdue.edu/pub/amanda/gethostbyname.c
which are two trivial little programs I **know** use those calls, and
are thus the appropriate tests for what Amanda does because that's what
it uses.
>Thorsten
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]