Re: nfs problem while internet access broken
On Fri, Aug 03, 2007 at 02:47:14PM +0200, Stephane Durieux wrote:
> I have noticed that my clients are not declared in
> /etc/hosts if I put them in /etc/hosts (and in nis
> table to be useful) everything is find.
>
> Nevertheless I don t understand how the nfs can make a
> resolution via dns of a a client whith a private
> address
> Perhaps does the server reply it it s impossible and
> everything is fine to log it
>
/etc/nsswitch.conf (name service switch conf) has the line:
hosts: files dns
This means that when the resolver tries to find a host it will first
look in the files on the system (e.g. /etc/hosts) before doing a dns
search.
Doug.
Reply to: