[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HPUX




Grossner, Timothy said:
> Ok. done...but this is weird. The entries in /etc/hosts dont seem to be
> being used at all now. This box doesnt have a DNS record yet, but it cant
> resolve itself now. the entries in /etc/hosts are right...
> 
> didnt find that other file, etc/nsswitch.conf. what does it do?

Configures the order of the resolver, among other things.  In other
words, that's most likely your problem.  There should be various
/etc/nsswitch.* files that show how to configure HP-UX for NIS, files,
etc.  You can also look at the nsswitch.conf(4) (or nsswitch.conf(5)
on a Linux box) man page for more information.

You probably need to create a nsswitch.conf and verify that you at
least have something like this in it:

    hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns

That will (IIRC) give you the behavior you expect.

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(618)398-7320             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.