View Single Post

   
  #3 (permalink)  
Old 01-16-2008, 06:58 PM
Jeff Traigle
 
Posts: n/a
Default Re: routing/gateway/dns settings


If you're able to reach the web site via IP address, the problem isn't
routing. However, HP-UX configures this through /etc/rc.config.d/netconf
(along with IP addresses for the interfaces).

The form of the resolv.conf looks good and if you use the same nameservers
on other systems with no problems, things should work for you. And you say
you have nsswitch.conf configured to use files, nis, then dns so that should
be good too.

The one thing that comes to mind is to check the permissions on
nsswitch.conf and resolv.conf. I vaguely recall having some difficulties at
my previous job while trying to lock some file permissions down and
discovered that if resolv.conf wasn't world readable, things didn't work.


On 4/24/04 3:03 PM, in article
2Kzic.242936$2oI1.148065@twister01.bloor.is.net.ca ble.rogers.com, "Antony
Gaitatzis" <tonyg@rollanet.org> wrote:

> Hi
>
> Ok, I'm still setting up my HP.
>
> My /etc/resolv.conf looks like
>
> domain <my subdomain>
> nameserver <dns-server-1>
> nameserver <dns-server-2>
>
> When I go to http://66.94.230.33, I get a nice Yahoo Page (minus graphics)
>
> However, when I go to http://www.yahoo.com, the domain name cannot be
> resolved. The DNS servers are correct; I use them on other machines.
>
> I tried putting my router ip in /etc/defaultrouter, which fixes this
> problem in Solaris, but apparently HP does not use the same convention.
>
> My host search order is /etc/hosts, nis, dns.
>
> What do I have to do to get my computer to be able to surf the net?
>
> Thank you,
> Tony G.


--
Jeff Traigle
traigle@si.umich.edu
http://www-personal.si.umich.edu/~traigle/

Reply With Quote