> >> I installed Solaris 8 on a Sun Ultra 10 machine. When I try to
> >use the netscape
> >> that came with it for a browers it says:
> >> Netscape us unable to locate the server www.sun.com
> >> I can open a terminal window and ping any ip address I want to,
> >it says any ip
> >> address I tell it is alive.
> >Can you ping both the name AND IP Address?
> >If you can ping the ip address but not the name, then you
> >are having resolution problems.
> >I can ping ip address, but when I try to ping a name, it says unknown host.
> Can you tell me what I need to look at exactly. I am new to this, so be patient
> with me.
A few things ..
First :
Ensure that you have a file /etc/inet/resolv.conf that specifies
your domain and nameservers. Most people just create it in /etc and
don't bother with putting it in /etc/inet and then linking it later. We
are seeing more and more of the essential config files for various
network services going into /etc/inet but you can put it into /etc if
you want. It should look like so :
domain mydomain.com
nameserver 142.77.1.1
nameserver 142.77.2.36
nameserver 207.34.228.251
You will need to know your domain name and your nameservers ip
addresses. Once you have created that file you will need to modify the
/etc/nsswitch.conf file such that the line with hosts: in it has the
three little letters dns at the end. You can revers the order and have
it look like hosts: dns files but that would seriously slow down local
subnet lookups.
The last thing you need to know is your default gateway. If you are
behind a firewall, you had better be, then you will need the inside
interface ip address of your firewall. Set up a defaultroute file in
/etc which has nothing else other than the ip address of your firewall.
Once you have these things in place you should be ok.
Dennis Clarke