Thread: NIS troubles
View Single Post

   
  #7 (permalink)  
Old 02-20-2008, 06:17 AM
E. Charters
 
Posts: n/a
Default Re: NIS troubles


>
>>you could try a "domain" directive in resolv.conf

>
>
> resolv.conf applies only to DNS, *not* to NIS!


# no, that is not how it works. NIS will look for hosts in
DNS and hosts files too. It uses resolv.conf. At least it
does in some systems.

>
>
>>perhaps -->
>>
>>you cannot use "search" in resolv.conf


OK, that is sun specific.


> Your NIS domainname should not be the same as your DNS domain.


# true.

You could puts "nis" in your hosts.conf file under order

Also perhaps /etc/defaultdomain should be set.

Reply With Quote