[tech] Re: [wheel] hostfiles

David Manchester mustang at ucc.gu.uwa.edu.au
Mon Feb 28 10:37:43 WST 2000


> On Mon, Feb 28, 2000 at 09:53:06AM +0800, David Manchester wrote:
> > Hiya - can anyone tell me WTF is with the hosts file on mola?
> > What was with the a,b,c...etc crap?
> 
> 1. That's all commented out.

I noticed.
 
> 2. It was an attempt some time ago to make our monster NFS exports lines
> manageable. Export to the machines a:b:c:... and simply define those
> hosts in /etc/hosts as required or as 127.0.0.1 if not.

Ahh. I thought you might reply, Nick - I was looking for someone else to own
up. Now it maketh sense.

> Replace it with netgroups or the automatically built dfstab or something.

Mmm.

> > I'm currently fiddling with name resolution on various boxen - it may pay
> > to tell the linux boxen about NIS in the host.conf. Have done so on
> > mermaid.
> 
> OK... If we can get it to work with DNS only, that'd be better.

Why so?

> > Why is mermaid pointing to morwong as the NIS server, BTW..?
> 
> Doesn't seem to be. Perhaps morwong's just answering broadcasts quicker
> than dominance or something. Another question is - why is it mattering?
> is morwong failing to get NIS updates?

I beg to differ:

mermaid:~# yppoll -h dominance -d womblefish hosts.byname
Domain womblefish is supported.
Map hosts.byname has order number 951702610. [Mon Feb 28 09:50:10 2000]
The master server is dominance.
mermaid:~# date
Mon Feb 28 10:06:55 WST 2000
mermaid:~# ypwhich
morwong.ucc.gu.uwa.edu.au

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.

Cheers
/dave
--
/  David Manchester <mustang at ucc.gu.uwa.edu.au>  [TDH]  Netware/UNIX droid. \
Tell someone who's interested, tell someone who can keep their lunch digested
Tell someone who wants your conversation, tell someone who doesn't regard you
\as an argument for compulsory sterilisation." [TISM], `How Do I Love Thee?'/




More information about the tech mailing list