RE: Re[2]: (no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Eugene Piskunov [mailto:eugene@delphin.marine.su]
> Sent: Sunday, December 08, 2002 4:55 PM
> To: James Francis
> Subject: Re[2]: (no subject)
> 
> 
> Hello James,
> 
> Saturday, December 7, 2002, 4:08:52 AM, you wrote:
> 
> >>
> >> 
> >> Hello all!
> >> 
> >>   Strange problem with my RH8.0 and resolve hosts
> >>   from /etc/hosts. (computer not connected to network but it have
> >>   eth0&eth1)
> >>   Firts RH resolve host from bind, and after from /etc/hosts
> >>   resolving host after timeout (10 sec).
> >>   named.conf is: order hosts, bind.
> >>   How make resolve from /etc/hosts first?
> >>
> JF> Edit /etc/nsswitch.conf.
> JF> hosts line should say:
> JF> hosts:      files dns
> JF> If it is not there, add it.
> 
> My /etc/nsswitch.conf.
> hosts line should say:
> hosts:      files dns
> 
> But this not resolve my problem.
Ok...try this.

In /etc, check host.conf.  This file should say:
order hosts,bind

The "order hosts,bind" line doesn't need to be in the named.conf file.
host.conf is the resolver configuration file.  Do a man on host.conf as
there are a few options.
Add a host to /etc/hosts and try pinging it and see if it reads the IP
address in from /etc/hosts.  If it does, you are good to go.  After
changing the host.conf, you may have to restart named,
/etc/init.d/named restart

Let me know how it goes...
> 
> 
> 
> -- 
> Best regards,
>  Eugene                            mailto:eugene@delphin.marine.su



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux