Dynamic IP and CNAME to other host

Barry Margolin barmar at bbnplanet.com
Wed Mar 22 23:49:08 UTC 2000


In article <38d43f98.11176086 at news.mindspring.com>,
 <Jonathan.Schwarz at slb7.atl.mindspring.net> wrote:
>I am hosting my site on my own dial-up connection, with an IP address
>that changes every time I dial up. I have used dyndns.org dynamic dns
>as a domain, but I want to use my own domain name. Using Granite
>Canyon, I have done this
>
>*.example.com. IN  CNAME  example.dyndns.org.  ; EXTREF GLOBALOK
>
>This allows me to redirect my domain name to my dyndns account, which
>I can easily update quickly.
>
>However, because of the '*' in my RR, www.example.com or
>test.example.com will both work, but not example.com
>
>If I try to leave out the *, like this
>
>example.com. IN  CNAME  example.dyndns.org.  ; EXTREF GLOBALOK
>
>I get an error from Granite Canyon saying 
>"nscheck: zone may not be redefined with a CNAME"
>Since I don't have a static IP address, I can't use 
>
>example.com. IN A xxx.xxx.xxx.xxx
>
>which is what one would normally do.
>
>Any ideas, other than not to use example.com, and just use
>www.example.com?

Find an inexpensive service that will perform HTTP redirection.  Make
example.com point to their server's IP address -- when it gets a
connection, it will redirect the browser to www.example.com, which will
then follow the CNAME record.

www.tzo.com is such a service -- they also provide dynamic DNS like
dyndns.org, so you can get both services from one site.  (Although this
sounds like a commercial plug, I am not affiliated with them in any way --
I'm not even a customer, but an acquaintance is using them and is very
happy with it.)

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list