Search Again:

No A Records Needed for Virtual Domains?

From: Warren Michelsen
Date: Thursday, February 8, 2001
Time: 12:37:09 pm

This is a DNS question more than a QDNS Pro question.

DNS Expert Pro told me that I had a CNAME record and a record of another type for the same host name. This is bad, it said.

What I had was both a MX record and CNAME record for my list server. Both records in this virtual domain listed the MainDomain host, i.e.,

Main domain has A record for lists.MainDomain.com.
Virtual domain had CNAME record for lists.VirtualDomain.com that pointed to lists.MainDomain.com
and had
MX record for lists.VirtualDomain.com that again listed the mail exchanger as lists.MainDomain.com.

Per DNS Expert, I eliminated the CNAME record, since I definitely need the MX record for a list server.

Now DNS Expert is happy, my list server still works with virtual domains and I guess I'm happy.

So my question is (finally), as long as my MainDomain.com has A records for its "www" and "lists" hosts, can all of my virtual domain zones contain only NS, MX and CNAME records?

I started off way back when by adding A records for each new virtual host, creating a "mail.VirtualDomain.com A record, etc. Then creating an MX record for VirtualDomain.com that listed mail.VirtualDomain.com.

Could I have instead been simply creating a MX record for VirtualDomain.com that referenced mail.MainDomain.com?

This would result in only one zone file that had any IP addresses in it instead of 50 zones that need updating when IP addresses change.

So, can I get by with no A records at all except in my MainDomain zone? Any drawbacks to doing this?

Yeah, I know. You folks probably already knew this long ago. I'm a slow learner...

--

Internet Tools for Business -- <http://www.CyberSpaces.net/>
E-commerce capable web hosting




Messages In This Thread:



Return to Digital Point Solutions' Home Page