> From sun-managers-relay@ra.mcs.anl.gov Sat Nov 25 00:22 EST 1995
> Sender: sun-managers-relay@ra.mcs.anl.gov
> Date: Fri, 24 Nov 1995 17:53:14 -0500
> From: jalals@rad.hfh.edu (Jalal Soltanian-Zadeh)
> Reply-To: jalals@rad.hfh.edu (Jalal Soltanian-Zadeh)
> Followup-To: junk
The Original Question:
>
> Hi Fellows,
> I have a very wierd problem with one of the system here. The system is running
> solaris 2.4. I can ping systems outside our network. However I have a minor
> routing problem. Whenever I reboot the system I get an error message which
> says: host_name: bad value
> and then when I try to run the command "nslookup", it won't be able to find
> the name server. I can ping the name server using it's IP address.
> I have checked all the files that I thought were involved in routing and etc.
> But no luck. Somebody please help me out. Thanks.
>
>
Thanks to all of the following people who responded to me:
jgotobed@LPL.Arizona.EDU
stromski@grover.lotus.com
carlson@egr.msu.edu
x092306@lanl.gov
Rasana.Atreya@library.ucsf.edu
kdharia@fh.us.bosch.com
roy@mss.mss.com
hendefd@tech.duc.auburn.edu
nobles@netcom.com
The best answer was:
For the nslookup to work you should have an /etc/resolv.conf
file with at least the following entries: (I'm assuming
your hostname is "rad")
domain hfh.edu
nameserver 1.2.3.4
replace 1.2.3.4 with the NAMESERVERS IP NUMBER. The
one you USED TO "Ping".
And your /etc/nsswitch.conf file should have a host entry that includes dns.
hosts: files dns
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:35 CDT