View Single Post

   
  #6 (permalink)  
Old 01-16-2008, 06:58 PM
Alain Deschamps
 
Posts: n/a
Default Re: routing/gateway/dns settings

On Sun, 25 Apr 2004 18:26:09 GMT, Antony Gaitatzis
<tonyg@rollanet.org> wrote:

>Search Order:
>=======================================
># cat /etc/nsswitch.conf
>hosts: files [NOTFOUND=return UNAVAIL=continue] dns [NOTFOUND=return
>UNAVAIL=continue TRYAGAIN=return]
>=======================================


The NOTFOUND=return after files prevent the use of the dns if the host
is not found in the /etc/hosts. Check the man page or the examples
files.
--
echo papxc.sthrwpbeh@ugtt.ug | tr "p-za-o" "a-z"
Reply With Quote