From: Ralf Spenneberg <lists@spenneberg.org>
To: Cody Harris <hchs@ns.sympatico.ca>
Cc: Netfilter <netfilter@lists.netfilter.org>,
netfilter-request@lists.netfilter.org
Subject: Re: Hostname Routing
Date: 08 Sep 2003 13:14:50 +0200 [thread overview]
Message-ID: <1063019689.1615.34.camel@kermit> (raw)
In-Reply-To: <200309071541.02247.hchs@ns.sympatico.ca>
Am Son, 2003-09-07 um 20.41 schrieb Cody Harris:
> Oops, forgot to add my message.
>
> This DOES not work (adding the line to /etc/hosts)
Ok.
Where do your requests come from? From the outside?
Then you need to update your DNS, so everybody else uses the correct IP
addresses. If you can't do that, you need a name-aware proxy for every
service you want.
Cheers,
Ralf
>
> ---------- Forwarded Message ----------
>
> Subject: Re: Hostname Routing
> Date: Sunday 07 September 2003 3:39 pm
> From: Cody Harris <hchs@ns.sympatico.ca>
> To: netfilter@lists.netfilter.org
>
> 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
>
> -------------------------------------------------------
--
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
next prev parent reply other threads:[~2003-09-08 11:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-07 18:41 Hostname Routing Cody Harris
2003-09-08 11:14 ` Ralf Spenneberg [this message]
2003-09-10 0:00 ` Cody Harris
-- strict thread matches above, loose matches on Subject: below --
2003-09-06 23:53 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 9:11 ` Ralf Spenneberg
2003-09-07 18:39 ` 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=1063019689.1615.34.camel@kermit \
--to=lists@spenneberg.org \
--cc=hchs@ns.sympatico.ca \
--cc=netfilter-request@lists.netfilter.org \
--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