Re: Hostname Routing

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

 



Oops, forgot to add my message.

This DOES not work (adding the line to /etc/hosts)

----------  Forwarded Message  ----------

Subject: Re: Hostname Routing
Date: Sunday 07 September 2003 3:39 pm
From: Cody Harris <hchs@xxxxxxxxxxxxxxx>
To: netfilter@xxxxxxxxxxxxxxxxxxx

On Sunday 07 September 2003 6:11 am, Ralf Spenneberg wrote:
> Am Son, 2003-09-07 um 01.53 schrieb Cody Harris:
> > Hello. I have researched your database on this subject (hostname
> > routing), but found nothing much. What i want is to take domain.com:* and
> > deliver that to the local machine (127.0.0.1), but i want
> > alt.domain.com:* to go to 192.0.0.2. How is this done?
>
> Am I missing something?
> What about the following in /etc/hosts:
> 127.0.0.1 localhost localhost.localdomain domain.com
> 192.0.0.2 alt.domain.com
>
> Or do it on you DNS server.
>
> Cheers,
>
> Ralf

-------------------------------------------------------



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux