[tech] hostfiles

Nick Bannon nick at ucc.gu.uwa.edu.au
Mon Feb 28 10:47:05 WST 2000


On Mon, Feb 28, 2000 at 10:37:43AM +0800, David Manchester wrote:
> > OK... If we can get it to work with DNS only, that'd be better.
> 
> Why so?

So it's not so hairy with multiple levels of fallback and configuration.

Files, then DNS, everywhere, is simpler and more easy to check than files,
NIS, DNS in whatever order and fallback sequence is defined in today's
host.conf/nsswitch.conf on each machine.

> > > Why is mermaid pointing to morwong as the NIS server, BTW..?
[...]
> mermaid:~# ypwhich
> morwong.ucc.gu.uwa.edu.au

-----
mermaid: ~>cat /etc/yp.conf
#10:43AM
#
# yp.conf       Configuration file for the ypbind process. You can define
#               NIS servers manually here if they can't be found by
#               broadcasting on the local net (which is the default).
#
#               See the manual page of ypbind for the syntax of this file.
#

# ypserver ypserver.network.com

#ypserver mooneye.ucc.gu.uwa.edu.au
#ypserver mussel.ucc.gu.uwa.edu.au
-----

Is that all that needs changing? to explicitly point to dominance?
That won't fall back to any slaves though, will it?

> Yes, morwong seems to not be getting NIS updates. I suspect that we need to
> cron a ypxfer on dominance - it pushes, rather than the slaves pulling.

Ahhh... sounds good.

Nick.

-- 
  Nick Bannon  | "I made this letter longer than usual because
nick at it.net.au | I lack the time to make it shorter." - Pascal




More information about the tech mailing list