[lug] host lookups
Hugh Brown
hugh at math.byu.edu
Wed Nov 15 18:10:45 MST 2000
HOSTNAME="juice"
/etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.1.1 juice.homenetwork.com juice
192.168.1.2 host2.homenetwork.com host2
192.168.1.3 host3.homenetwork.com host3
192.168.1.4 host4.homenetwork.com host4
192.168.1.5 host5.homenetwork.com host5
"D. Stimits" wrote:
>
> hugh at math.byu.edu wrote:
> >
> > I am having some trouble with host lookups for stuff on non-routed
> > networks.
> >
> > I have /etc/host.conf set with "order hosts bind" and I have hosts in my
> > /etc/hosts for my 192.168.1.* network. One of those hosts is juice.
> > When I do a "host juice" I get a lookup failure. When I do an exportfs
> > to hosts in the local subnet then exportfs takes about two minutes to
> > complete it's job.
> >
> > It seems that it is taking a while to time out on the lookups via
> > internet name servers and then resorts to /etc/hosts.
> >
> > Can anyone give some guidance?
> >
> > Hugh
> >
>
> What is the content of your /etc/hosts? And assuming redhat, what is the
> content of /etc/sysconfig/network line for "HOSTNAME="?
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list