Re: Internet DNS A record / CNAME best practice

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Andy Hunt wrote:
Hi,

We run a primary and secondary DNS server for web based domain
requests, for a number of our clients.

We also provide web hosting on two servers using IIS and Host
Headers, so a lot of the domain names resolve to the same web server.

The question is which of the following scenarios is considered "best
practice" in this scenario?

1: Each domain name has an A record pointing to the IP address of the
web server, so you end up with maybe 50 different domain names all
having A records for www., pointint to the web server

2: We have a single A record on our own domain name, say www1.,
pointing to each of our web servers, and all the clients who have
their domains on that server have a CNAME record translating their
www. onto our www1.

I've seen both used by bigger ISP's, and we're keen to use the one
considered "better", so I would be grateful if you could advise which
you recommend and, prefereably, the reasoning.

You can use a CNAME for the www record, pointing to www1.anothername.com. As
long as you do not need or expect the bare domain name to use a CNAME. You
should not use a CNAME for the bare domain name because CNAME records cannot
exist on the same node with other records.
If you want the domain name to resolve without the www, you will need to use
an "A" record. If you create a CNAME record on the domain name node, you
cannot have an MX, A, TXT, or other records. Only NS and SOA records can
exist on the node with a CNAME.

--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
===================================
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
===================================
http://www.lonestaramerica.com/
http://support.wftx.us/
https://secure.lsaol.com/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================


.



Relevant Pages

  • Re: Requesting data from Microsoft Exchange
    ... Marina Roos wrote: ... My Outlook clients keep getting the ... which Global Catalog server your affected clients are pointing to. ...
    (microsoft.public.exchange2000.connectivity)
  • Re: CNAME - gets System error 1396 has occurred
    ... I created a CNAME to a server that I'm not mapping any drives too and everything seems to be working. ... The templates WERE stored on a file share on an old Domain Controller ... Our director is saying it's permissions, it's permissions, but I'm ...
    (microsoft.public.windows.server.dns)
  • Re: Slow File Access
    ... Ensure that your DNS is all working OK or AD will really struggle. ... should be pointing to the local server for DNS resolution and that server ... should be pointing to itself too. ... The problem in which we are having is the client computers (all running Windows 2000 Pro SP4 and identical in every way, 10 total clients) are recieving a 10 second delay whenever they try to open a file from the server in Excel or Word 2000 for example. ...
    (microsoft.public.windows.server.general)
  • Exchange 2007: Internal Domain Name vs External
    ... SMTP clients to connect to mail1.company.com from inside or outside. ... Now that I am moving to Exchange clients instead of POP the CNAME is ... entering the Exchange server name ...
    (microsoft.public.exchange.admin)
  • Re: CNAME - gets System error 1396 has occurred
    ... I'm wondering if I change the cname to point to a server that I am not trying to map drives too..? ... The templates WERE stored on a file share on an old Domain Controller ... MVP Microsoft MVP - Directory Services ...
    (microsoft.public.windows.server.dns)