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

Re: aliasing internet addresses



On Wed, Dec 03, 2003 at 11:02:16AM -0800, Tom wrote:
> > At Wednesday, 3 December 2003, Micha Feigin <michf@post.tau.ac.il> 
> > wrote:
> > 
> > >I want to alias internet addresses localy, is it possible?
> > >For example to alias www.site1.org -> www.site2.org such that trying to
> > >access www.site1.org would actually connect to www.site2.org.
> > >I didn't see how to do this with /etc/hosts if it is even possible that
> > >way.
> 
> If www.site2.org is static IP, why can't you just map www.site1.org to 
> that IP in /etc/hosts?
> 

www.site1.org is and internal name that has no meaning on the open
network.
www.site2.org is linked to a dynamic ip using freedns.
I don't want to use the same name inernaly and externaly as that can
cause some abiguity.

> Also if you run your own DNS you can do this; I've done this in Windows 
> DNS Server (in my former life); I use dnsmasq on Linux.  There's a 
> special type of DNS record for a full alias.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: