We have a LAN/WAN with over 5000 nodes and I haven't yet seen a
situation where DNS couldn't be used in preference to "/etc/hosts". The
only times I can think of we've used it are for temporary hacks and
bootstraps. Can you give an exact example of where you need hosts?

                        - Matt

Tony Nugent wrote:
> 
> On Wed Oct 18 2000 at 11:59, John Summerfield wrote:
> 
> > > What I need to know is: if and how it is possible to somehow have a
> > > (local) dns lookup that uses /etc/hosts to properly handle hostnames
> > > that have two IP addresses (ie, multi-homed boxes).
> >
> > dns does not use /etc/hosts.
> 
> I know - of course I know that!  :-)
> 
> Perhaps I don't _want_ (or need) to set up a dns server.  And often
> I will have to (err, do have to) deal with situations where dns is
> unavailable because I am, for example, getting into a remote server
> from the dialups ("back end") and not from the usual WAN gateway
> link (which might be down).
> 
> The only way to ssh into these boxes is if the source box can be
> resolved in the dns.  I can configure this differently, but I don't
> particularly want to.
> 
> I'm full of other examples where I *NEED* /etc/hosts to work like I
> want.
> 
> > I have bind on every box;-)
> 
> So have I (on all the remote servers, over 40 of them), but that's
> not the point.
> 
> > I've noticed the master dies (or used to die) sometimes; adding more reduces
> > the confusion when the master vanishes.
> 
> Yes, things like that.
> 
> > Looks to me you have a setup like mine; small LAN segregated by speed; a box
> > in the middle to connect the segments.
> 
> No, not really.  Well, sort of.  Each of these remote sites has a
> lan and dialup services.  Each site has a wan connection, eg, isdn
> or frame relay.
> 
> > I do not think you can do it using hosts. However, I've never noticed any
> > problem mounting files (when the server starts!! I just had a forced reboot;
> > it didn't start nfs but the init/nfs said it was running(.
> >
> > Exports lines like this might help:
> >
> > /usr/local 192.168.0.0/255.255.0.0(ro,no_root_squash)
> > I've told NFS I have one class B network.
> 
> portmap and nfsd have no problems, but the mountd daemon barfs if it
> can't do a DNS reverse lookup on the client asking for the
> directory.  Same with sshd/sshd2.
> 
> Cheers
> Tony
>  -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
>   Tony Nugent <[EMAIL PROTECTED]>    Systems Administrator, RHCE
>   GrowZone OnLine       (a project of) GrowZone Development Network
>   POBox 475 Toowoomba Oueensland Australia 4350    Ph: 07 4637 8322
>  -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list

-- 
---------------------------------------------------------------------
Matt Fahrner                                    2 South Park St.
Manager of Networking                           Willis House
Burlington Coat Factory Warehouse               Lebanon, N.H.  03766
TEL: (603) 448-4100 xt 5150                     USA
FAX: (603) 443-6190                             [EMAIL PROTECTED]
---------------------------------------------------------------------



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to