Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ralf Spenneberg <lists@spenneberg.org>
To: Cody Harris <hchs@ns.sympatico.ca>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: Hostname Routing
Date: 07 Sep 2003 11:11:06 +0200	[thread overview]
Message-ID: <1062925865.1617.1.camel@kermit> (raw)
In-Reply-To: <200309062053.43929.hchs@ns.sympatico.ca>

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
-- 
Ralf Spenneberg
RHCE, RHCX

Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
IPsec-Howto				     http://www.ipsec-howto.org
Honeynet Project Mirror:                     http://honeynet.spenneberg.org


  parent reply	other threads:[~2003-09-07  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-06 23:53 Hostname Routing Cody Harris
2003-09-07  1:13 ` Alistair Tonner
2003-09-07  1:16   ` Cody Harris
2003-09-07  1:29     ` Alistair Tonner
2003-09-07  1:31       ` Cody Harris
2003-09-07 21:30         ` Hostname Routing -- Alistair Tonner
2003-09-07  9:11 ` Ralf Spenneberg [this message]
2003-09-07 18:39   ` Hostname Routing Cody Harris
  -- strict thread matches above, loose matches on Subject: below --
2003-09-07 18:41 Cody Harris
2003-09-08 11:14 ` Ralf Spenneberg
2003-09-10  0:00   ` Cody Harris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1062925865.1617.1.camel@kermit \
    --to=lists@spenneberg.org \
    --cc=hchs@ns.sympatico.ca \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox