> `ping google.com' actually pings 127.0.0.1 but `host google' returns
> the actual IP addresses for google.
ping will resolve the name using the mecanism defined in
/etc/nsswitch.conf, usually:
hosts: files dns nis
try first /etc/hosts, then DNS, then NIS
But host(1) command is designed
David Naylor <[EMAIL PROTECTED]> wrote:
> I am trying to redirect a URL request to a different address but it
> appears that /etc/hosts is not doing the job. Example:
>
> 127.0.0.1 google.com
>
> The way I understand it is that by typing google.com in a web browser
> it should result in the
Subject: /etc/hosts not working
* PGP Signed: 09/11/08 at 13:49:05
Hi,
I am trying to redirect a URL request to a different address
but it appears
that /etc/hosts is not doing the job. Example
David Naylor <[EMAIL PROTECTED]> writes:
> I am trying to redirect a URL request to a different address but it appears
> that /etc/hosts is not doing the job. Example:
>
> 127.0.0.1 google.com
>
> The way I understand it is that by typing google.com in a web browser it
> should result in the l
Hi,
I am trying to redirect a URL request to a different address but it appears
that /etc/hosts is not doing the job. Example:
127.0.0.1 google.com
The way I understand it is that by typing google.com in a web browser it
should result in the local page being displayed. It instead goes to th