Koozali.org: home of the SME Server

Dynamic DNS + Virtual Domains = ???

Offline arnoldob

  • *
  • 183
  • +0/-0
Dynamic DNS + Virtual Domains = ???
« on: June 17, 2005, 02:01:10 AM »
I want to add 2 new virtual domains to my SME 6.01 box. I use the yi.org dynamic domain service to update my dynamic IP address from ths ISP. Is there some config change needed to make sure the new domains get updated also? Or does SME have it under control? I'd prefer not to wait until my IP changes and find out the hard way :)

Thanks
Arnoldo
Tampa, FL USA

dhardy

Dynamic DNS + Virtual Domains = ???
« Reply #1 on: June 17, 2005, 02:42:35 PM »
Set your other domains up, but instead of A records for www.domain.com make them CNAME records that point to yourname.yi.org

If using the vitrual domains for email as well, then create the MX records for them and set them to point to yourname.yi.org as well.

So ....

A Records

yourname.yi.org

CNAME Records

vdomain1.com -> yourname.yi.org
www.vdomain1.com -> yourname.yi.org
vdomain2.com -> yourname.yi.org
www.vdomain2.com -> yourname.yi.org

MX Records

vdomain1.com -> yourname.yi.org
vdomain2.com -> yourname.yi.org

HTH

David.

Offline arnoldob

  • *
  • 183
  • +0/-0
Dynamic DNS + Virtual Domains = ???
« Reply #2 on: June 17, 2005, 10:42:43 PM »
thanks for the reply :)
Tampa, FL USA

Offline arnoldob

  • *
  • 183
  • +0/-0
Dynamic DNS + Virtual Domains = ???
« Reply #3 on: June 25, 2005, 03:00:49 PM »
After a lengthy delay I got a reply from the yi.org owner. I asked him if I could point the virtual domains to my primary domain name:
Quote
   Unfortunately the world's DNS servers don't mesh well with seeing a
root domain name as a CNAME, so I reccommend this configuration:

   - A records at the root of each domain

   - CNAME records from www. to the root of each domain

   - MX records pointing all pointing to one hostname that's an A record
(I'd suggest either mail.bertoncini.net or bertoncini.net.)

   I hope this helps!

      Cheers,
         Tyler


If I read Tyler's reply correctly the virtual domains will not be updated automagically by my SME 6.01 server, since he says it's a bad idea to point a CNAME record to a domain instead of an IP. What are my other options? Has anyone used one of the dynamic domain updating packages, like ez-ipupdate-3.0.11b7-linux-i386.tar.gz to update mulitple domains?
Tampa, FL USA