CNAME Listing in BIND for Domain Outside of My Control

sillz beth.stover at gmail.com
Wed Jun 11 16:09:46 UTC 2008


On Jun 10, 10:05 pm, Gregory Hicks <ghi... at cadence.com> wrote:
> > Date: Tue, 10 Jun 2008 21:36:11 -0700
> > From: "Dawn Connelly" <dawn.conne... at gmail.com>
> > To: sillz <beth.sto... at gmail.com>
> > Subject: Re: CNAME Listing in BIND for Domain Outside of My Control
> > Cc: comp-protocols-dns-b... at isc.org
>
> > The problem is with host headers. The destination webserver is inspecting
> > the URL that people are trying to access and then matching that to a
> > specific webpage. If the URL that people are putting into the browser is not
> > configured on the webserver, it doesn't understand what page you are trying
> > to get to. The problem isn't the fact that it's CNAME'ing to a CNAME...it's
> > a webserver issue.
>
> So set up a webserver at emergency.mydomain.com and have that page do a
> redirect to where-ever the real blog is located.
>
>
>
> > On Mon, Jun 9, 2008 at 4:22 PM, sillz <beth.sto... at gmail.com> wrote:
>
> > > Hi All,
>
> > > I'm new to DNS and BIND.  I'm SOA for my domain.  I just set up BIND
> > > 9.4.2 running on FreeBSD.  The zones transferred fine to the secondary
> > > servers at my ISP, and all is well.
>
> > > Now for disaster recovery purposes, I'd like to create a CNAME or
> > > alias to a blog site but have it resolve under my domain name.
>
> > > For example, I set up a blog for emergency purposes on blog spot.  The
> > > URL is something like this:
>
> > >http://www.mydomain.blogspot.com
>
> > > I'd like to have it resolve to:
>
> > > emergency.mydomain.com
>
> > > I created the following entry in my zone file:
>
> > > emergency               IN CNAME        www.mydomain.blogspot.com.
>
> > > I refreshed the zones, and confirmed they resolve with NSLOOKUP, but
> > > my new name just shows up as an alias like this:
>
> > > Name:    blogspot.l.google.com
> > > Address:  72.14.207.191
> > > Aliases:  emergency.mydomain.com,www.mydomain.blogspot.com
>
> > > If I try the URL like this:
>
> > >http://emergency.mydomain.com
>
> > > Then it resolves to blogspot.l.google.com, so I don't actually get to
> > > my blog site.
>
> > > Is what I'm trying to do possible?
>
> > > Any help is appreciated.
>
> > > Thanks!
>
> ---------------------------------------------------------------------
> Gregory Hicks                           | Principal Systems Engineer
> Cadence Design Systems                  | Direct:   408.576.3609
> 555 River Oaks Pkwy M/S 9B1
> San Jose, CA 95134
>
> I am perfectly capable of learning from my mistakes.  I will surely
> learn a great deal today.
>
> "A democracy is a sheep and two wolves deciding on what to have for
> lunch.  Freedom is a well armed sheep contesting the results of the
> decision."
>
> "The best we can hope for concerning the people at large is that they
> be properly armed." --Alexander Hamilton

Thanks,

The problem is that, in theory, the physical site for mydomain.com
would be destroyed in a disaster, so a redirection server wouldn't
work.


More information about the bind-users mailing list