nslook problem?

James Song (jsong@nlc.com)
Thu, 23 Mar 95 10:41:47 PST

I was trying to use nslook to get a device's IP address. Nslook returned
an error message saying "can not lookup" this device. But I wrote a small
program to use gethostbyname() to query the IP address and the program
successfully got the IP address. Then I check the source code for nslook
in clock.c. I did not find anything different from my own program. Yet
nslook always failed to find the device. I just don't understand what's
in scotty that fails the function gethostbyname(). I would appreciate
any help.

Best regards,

--James Song
jsong@nlc.com