From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,32f13a528f14fc5 X-Google-Attributes: gidfee84,public X-Google-Thread: 1020c6,32f13a528f14fc5 X-Google-Attributes: gid1020c6,public From: vilain@NOSPAM.slip.net (Michael Vilain) Subject: Re: HELP: nslookup works, but telnet doesn't Date: 1997/11/03 Message-ID: #1/1 X-Deja-AN: 286922366 References: Organization: Certified Rolfer� Newsgroups: comp.unix.admin,comp.unix.osf.osf1 In article , Terrence Brannon wrote: >For a DNS that used to work, I am told > >Can't find server name for address 128.125.104.79: BAD ERROR VALUE > >After moving this nameserver IP # to the bottom of /etc/resolv.conf, >nslookup is able to resolve names to IP numbers. But unfortunately, >when I try to telnet to the same names that were resolved by nslookup, >I am told it is an unknown host. Check to see if the IP addresses match in NIS and DNS. Maybe they don't. telnet, ping, and ftp use gethostbyname() which may be set to resolve via NIS before DNS. On Solaris, check the hosts line in /etc/nsswitch.conf. If this is SunOS, you'll have to check the FAQ to setup the shared library libc.so to use DNS rather than NIS. Good luck, /MeV/ -- Michael Vilain Certified Rolfer(reg) http://www.slip.net/~vilain [remove "NOSPAM." from my address to reply]