Re: CNAME Listing in BIND for Domain Outside of My Control




Date: Tue, 10 Jun 2008 21:36:11 -0700
From: "Dawn Connelly" <dawn.connelly@xxxxxxxxx>
To: sillz <beth.stover@xxxxxxxxx>
Subject: Re: CNAME Listing in BIND for Domain Outside of My Control
Cc: comp-protocols-dns-bind@xxxxxxx

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.stover@xxxxxxxxx> 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


.



Relevant Pages

  • Re: Strange PORTFORWARDING problem
    ... > domain name setup and pointing to my IP address of the webserver. ... > inside the firewall. ... Do you run a DNS server for your internal network? ... www.my_domain_name.com resolve to 192.168.0.4. ...
    (comp.os.linux.security)
  • host/domain dns resolution conflict
    ... to resolve to say 10.1.1.100. ... When users in my AD domain try to access this webserver (by using ... have to use Microsofts DNS server or can I use linux? ...
    (microsoft.public.win2000.dns)
  • allow web hosting through firewall
    ... i'm using bind and apache on my webserver at my house. ... the ip of the router is the same ip address that the webserver use to have, ... address without success - but without the firewall i am successful, ...
    (comp.security.firewalls)
  • Re: Apache behind/in front of gateway
    ... > I'm trying to build a gateway using OpenBSD but I would like to put a ... > webserver on the same machine as well. ... How do you 'bind' the webserver to one of the network cards? ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Teufel in der Quelle
    ... abgegriffen. ... Da kann der Webserver nicht sonderlich viel machen. ... Bei einem Blog hätte ich eher keinen aktiven FTP-Zugang erwartet. ...
    (de.soc.recht.strafrecht)