Bind ip alias

Mike Burger mburger at bubbanfriends.org
Mon May 24 09:13:51 UTC 2004


Why would you assume that?  You set up your zone file so that 
www.hosteddomain.com gives you the "aliased" ip...dns lookups, at least 
internally, are always going to give you what's actually in your zone 
file.

On Sun, 23 May 2004, Mark Lowe wrote:

> Hi Jason
> 
> I see what you're saying with the apache configuration but I'm sure 
> bind isn't setup up right as when I ping www.hosteddomain.com. from 
> another machine it returns the ip alias ip
> 
> ping www.hosteddomain.com
> PING www.hosteddomain.com (10.0.0.10): 56 data bytes
> 64 bytes from 10.0.0.10: icmp_seq=0 ttl=64 time=0.259 ms
> 64 bytes from 10.0.0.10: icmp_seq=1 ttl=64 time=0.242 ms
> 64 bytes from 10.0.0.10: icmp_seq=2 ttl=64 time=0.259 ms
> 
> And so on..
> 
> I assume that I should get the external ip if things are setup right.
> 
> On 23 May 2004, at 21:41, Jason Staudenmayer wrote:
> 
> > I think what your after has nothing to do with bind. Look at apache 
> > redir
> > and virtual hosting.
> > If you only have one outside address and want multiple domains on that 
> > 1
> > address that's the way to go.
> > The only catch is you MUST use the FQDN and not the IP.
> >
> > -----Original Message-----
> > From: Mark Lowe [mailto:mark.lowe at boxstuff.com]
> > Sent: Sunday, May 23, 2004 3:32 PM
> > To: redhat-list at redhat.com
> > Subject: Bind ip alias
> >
> >
> > Hello
> >
> > I've been struggling with this for a while now, and could really do
> > with someone telling be where I've been going wrong.
> >
> > We have one server with 1 IP. I've made a number of IP aliases which
> > all works fine and dandy. I'm trying to map individual domain names to
> > a ip alias.
> >
> > For example
> >
> > $ttl 38400
> > @       IN      SOA     mainhost.maindomain.com.
> > root.mainhost.maindomain.com. (
> >                          1084742277
> >                          10800
> >                          3600
> >                          604800
> >                          38400 )
> > hosteddomain.com.     	IN     NS	ns.maindomain.com.
> > www.hosteddomain.com. IN     A       10.0.0.10
> > ftp.hosteddomain.com. 	IN     A       10.0.0.10
> > mail.hosteddomain.com 	IN	A	10.0.0.10
> > hosteddomain.com.     	IN     A       10.0.0.10
> >
> >
> > The problem is when I ping or traceroute to hosteddomain.com it gives
> > me the the aliased IP rather than the external one.
> >
> > How to I get things so to the outside world hosteddomain.com is the
> > real ip and to the server its the aliased one?
> >
> > The main reason I'm trying to get this working is so I can have an ssl
> > certificate for domains hosted on our webserver
> >
> > <VirtualHost 10.0.0.10:80>
> > 	ServerName www.hosteddomain.com
> > ..
> >
> > <VirtualHost 10.0.0.10:443>
> > 	ServerName www.hosteddomain.com
> > 	#Point to ssl cert and such like.
> > ..
> >
> > If anyone can shed any light on this it would be a great help
> >
> > Cheers
> >
> > Mark
> >
> >
> >
> >
> >
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of: 

subscribe





More information about the redhat-list mailing list