OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: John Peach (postfix_at_johnpeach.com)
Date: Fri Nov 08 2002 - 13:04:46 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > > Forgive the obvious question, but is Solaris set to use hosts ahead
    > > of DNS for name resolution? If not, this file might be ignored after
    > > boot time. On Solaris either irs.conf or nsswitch.conf configures
    > > this, IIRC.
    >
    > On Solaris 8/9 it is /etc/nsswitch.conf
    >
    > My standard installation doesn't include the "host" command. Maybe it can
    > be installed as an option, however, but I have never seen it on Solaris
    > without installing it from outside Sun.
    Forgive me if I've missed something in this thread.... :-)

    The syntax in nsswitch.conf is:

    hosts: files dns

    (or whatever you want your order to be, or add nis etc....)