Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Cant add @ CNAME record

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 01-05-2007
Scott Townsend
 
Posts: n/a
Cant add @ CNAME record

I want to add:
@ CNAME svr-web.otherdomain.com.

I get an Error:
An alias (CNAME) record cannot be added to this DNS name. The DNS name
contains records that are incompatible with the CNAME record

I can add a
@ A 10.1.22.22

What Gives?

Thank you,

Scott<-

Here is my Zone file:

;
; Database file domain.com.dns for domain.com zone.
; Zone version: 2007043001;
@ IN SOA ns1.domain.net. hostmaster.domain.net. (
2005120604 ; serial number
21600 ; refresh
3600 ; retry
691200 ; expire
86400 ) ; default TTL
;
; Zone NS records
;
@ NS ns1.dnsdomain.net.
@ NS ns1.otherdomain.net.
;
; Zone records
;
@ MX 10 mail.otherdomain.com.
www CNAME svr-web.otherdomain.com.


Reply With Quote
  #2  
Old 01-05-2007
Kevin D. Goodknecht Sr. [MVP]
 
Posts: n/a
Re: Cant add @ CNAME record

Read inline please.

In news:ED807445-4AE2-4929-AFCB-BBECCB195946@microsoft.com,
Scott Townsend <scooter133@community.nospam> typed:
> I want to add:
> @ CNAME svr-web.otherdomain.com.
>
> I get an Error:
> An alias (CNAME) record cannot be added to this DNS name. The DNS
> name contains records that are incompatible with the CNAME record
>
> I can add a
> @ A 10.1.22.22
>
> What Gives?
>
> Thank you,
>
> Scott<-
>
> Here is my Zone file:
>
> ;
> ; Database file domain.com.dns for domain.com zone.
> ; Zone version: 2007043001;
> @ IN SOA ns1.domain.net.
> hostmaster.domain.net. ( 2005120604 ;
> serial number 21600 ; refresh
> 3600 ; retry
> 691200 ; expire
> 86400 ) ; default TTL
> ;
> ; Zone NS records
> ;
> @ NS ns1.dnsdomain.net.
> @ NS ns1.otherdomain.net.
> ;
> ; Zone records
> ;
> @ MX 10 mail.otherdomain.com.
> www CNAME svr-web.otherdomain.com.


You cannot have a CNAME on the same node as an MX record.

--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
Send IM: http://www.icq.com/people/webmsg.php?to=296095728
===================================
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/
http://message.wftx.us/
===================================
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
===================================


Reply With Quote
  #3  
Old 01-05-2007
tom
 
Posts: n/a
RE: Cant add @ CNAME record

Hi Scott,

Thank you for using newsgroup!

According to your post, I noticed that you receive an error message that
the CNAME record cannot be created and based on my experience, this may
occur if you did not type any character in "Alias Name". To create a Blank
CNAME, you need to type "*" in Alias Name line so that system will resolve
doamin.com to the IP A record you specified.

However, this workaround will create problem in Active Directory integrated
DNS. In AD integrated DNS domain name is usually resolved to the DCs. If we
make a manual entry in AD integrated DNS pointing to a Web Server we will
end up in trouble with AD / Domain functions.

For example, client computers will apply group policy by address
\\domain.com\sysvol, in general cases, this address will be resolved to
\\DC1\sysvol or \\DC2\sysvol, because by default the domain.com will be
resolved to DCs. After we created Blank NNAME, \\domain.com\sysvol will be
resolved to the \\webserver\sysvol and if the web serer is not the DC, GPO
will be failed to apply.

So the best option is to serve a page on www.domain.com, you can create a
CNAME record WWW, point it to the web serer where the web sites are hosted.
You can create other CNAME record such as FTP also.

If you have any concerns, please feel free to post back.

Sincerely,
Tom Zhang, MCSE 2003
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Reply With Quote
  #4  
Old 02-05-2007
Scott Townsend
 
Posts: n/a
Re: Cant add @ CNAME record

So the domains that I would like to have the root domain mapped to the
webserver are not the AD Domain. They are AD Integrated domains in DNS, but
they are not the AD Domain.

So the only root records I have are the SOA, NS and MX.

When I add * CNAME webserver.domain.com and then run NSLookup, it does not
find an IP for the domain. it does return info for webserver.domain.com.

Thanks,
Scott<-


"tom" <v-tozhan@online.microsoft.com> wrote in message
news:NsPf0C9iHHA.3528@TK2MSFTNGHUB02.phx.gbl...
> Hi Scott,
>
> Thank you for using newsgroup!
>
> According to your post, I noticed that you receive an error message that
> the CNAME record cannot be created and based on my experience, this may
> occur if you did not type any character in "Alias Name". To create a Blank
> CNAME, you need to type "*" in Alias Name line so that system will resolve
> doamin.com to the IP A record you specified.
>
> However, this workaround will create problem in Active Directory
> integrated
> DNS. In AD integrated DNS domain name is usually resolved to the DCs. If
> we
> make a manual entry in AD integrated DNS pointing to a Web Server we will
> end up in trouble with AD / Domain functions.
>
> For example, client computers will apply group policy by address
> \\domain.com\sysvol, in general cases, this address will be resolved to
> \\DC1\sysvol or \\DC2\sysvol, because by default the domain.com will be
> resolved to DCs. After we created Blank NNAME, \\domain.com\sysvol will be
> resolved to the \\webserver\sysvol and if the web serer is not the DC, GPO
> will be failed to apply.
>
> So the best option is to serve a page on www.domain.com, you can create a
> CNAME record WWW, point it to the web serer where the web sites are
> hosted.
> You can create other CNAME record such as FTP also.
>
> If you have any concerns, please feel free to post back.
>
> Sincerely,
> Tom Zhang, MCSE 2003
> Microsoft Online Support
> Microsoft Global Technical Support Center
>
> Get Secure! - www.microsoft.com/security
> =====================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>


Reply With Quote
  #5  
Old 02-05-2007
Greg Lindsay [MSFT]
 
Posts: n/a
Re: Cant add @ CNAME record

Hi Scott,

In your first post, you said you *could* add "@ A 10.1.22.22", but
when you listed the zone records I didn't see this entry.

A CNAME must point to an A record. Can you verify that you have this A
record created?

--
Greg Lindsay [MSFT]

Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

"Scott Townsend" <scooter133@community.nospam> wrote in message
news:148E15EF-7366-4C52-8C20-9B69720A1514@microsoft.com...
> So the domains that I would like to have the root domain mapped to the
> webserver are not the AD Domain. They are AD Integrated domains in DNS,
> but they are not the AD Domain.
>
> So the only root records I have are the SOA, NS and MX.
>
> When I add * CNAME webserver.domain.com and then run NSLookup, it does
> not find an IP for the domain. it does return info for
> webserver.domain.com.
>
> Thanks,
> Scott<-
>
>
> "tom" <v-tozhan@online.microsoft.com> wrote in message
> news:NsPf0C9iHHA.3528@TK2MSFTNGHUB02.phx.gbl...
>> Hi Scott,
>>
>> Thank you for using newsgroup!
>>
>> According to your post, I noticed that you receive an error message that
>> the CNAME record cannot be created and based on my experience, this may
>> occur if you did not type any character in "Alias Name". To create a
>> Blank
>> CNAME, you need to type "*" in Alias Name line so that system will
>> resolve
>> doamin.com to the IP A record you specified.
>>
>> However, this workaround will create problem in Active Directory
>> integrated
>> DNS. In AD integrated DNS domain name is usually resolved to the DCs. If
>> we
>> make a manual entry in AD integrated DNS pointing to a Web Server we will
>> end up in trouble with AD / Domain functions.
>>
>> For example, client computers will apply group policy by address
>> \\domain.com\sysvol, in general cases, this address will be resolved to
>> \\DC1\sysvol or \\DC2\sysvol, because by default the domain.com will be
>> resolved to DCs. After we created Blank NNAME, \\domain.com\sysvol will
>> be
>> resolved to the \\webserver\sysvol and if the web serer is not the DC,
>> GPO
>> will be failed to apply.
>>
>> So the best option is to serve a page on www.domain.com, you can create a
>> CNAME record WWW, point it to the web serer where the web sites are
>> hosted.
>> You can create other CNAME record such as FTP also.
>>
>> If you have any concerns, please feel free to post back.
>>
>> Sincerely,
>> Tom Zhang, MCSE 2003
>> Microsoft Online Support
>> Microsoft Global Technical Support Center
>>
>> Get Secure! - www.microsoft.com/security
>> =====================================================
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> =====================================================
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>

>



Reply With Quote
  #6  
Old 02-05-2007
Kevin D. Goodknecht Sr. [MVP]
 
Posts: n/a
Re: Cant add @ CNAME record

Read inline please.

In news:%23YFuxZDjHHA.1884@TK2MSFTNGP06.phx.gbl,
Greg Lindsay [MSFT] <greglin@microsoft.com> typed:
> Hi Scott,
>
> In your first post, you said you *could* add "@ A
> 10.1.22.22", but when you listed the zone records I didn't see this
> entry.
>
> A CNAME must point to an A record. Can you verify that you have this A
> record created?


This is irrelevant, you CANNOT have a CNAME record on the same node as an MX
record.
That is why he gets this error:
> I get an Error:
> An alias (CNAME) record cannot be added to this DNS name. The DNS name
> contains records that are incompatible with the CNAME record



--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
Send IM: http://www.icq.com/people/webmsg.php?to=296095728
===================================
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/
http://message.wftx.us/
===================================
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
===================================


Reply With Quote
  #7  
Old 02-05-2007
DevilsPGD
 
Posts: n/a
Re: Cant add @ CNAME record

In message <#YFuxZDjHHA.1884@TK2MSFTNGP06.phx.gbl> "Greg Lindsay [MSFT]"
<greglin@microsoft.com> wrote:

>Hi Scott,
>
>In your first post, you said you *could* add "@ A 10.1.22.22", but
>when you listed the zone records I didn't see this entry.
>
>A CNAME must point to an A record. Can you verify that you have this A
>record created?


huh? Does MSDNS actually enforce just a retarded rule?

There is no requirement in the DNS world at all that an MX record point
to an A-record.

--
Just sit through this NRA meeting Marge, and if you still
don't think guns are great then we'll argue some more.
-- Homer Simpson
Reply With Quote
  #8  
Old 02-05-2007
Kevin D. Goodknecht Sr. [MVP]
 
Posts: n/a
Re: Cant add @ CNAME record

Read inline please.

In news:un4g33da2lslk3k2ukg07oeu7onckm3tti@4ax.com,
DevilsPGD <spam_narf_spam@crazyhat.net> typed:
> In message <#YFuxZDjHHA.1884@TK2MSFTNGP06.phx.gbl> "Greg Lindsay
> [MSFT]" <greglin@microsoft.com> wrote:
>
>> Hi Scott,
>>
>> In your first post, you said you *could* add "@ A
>> 10.1.22.22", but when you listed the zone records I didn't see this
>> entry.
>>
>> A CNAME must point to an A record. Can you verify that you have this
>> A record created?

>
> huh? Does MSDNS actually enforce just a retarded rule?
>
> There is no requirement in the DNS world at all that an MX record
> point
> to an A-record.



You are correct, it does not have to return an A record, there are other
record types the MX may return, but RFC2181 10.3 specifically states that MX
records never return a CNAME.


--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
Send IM: http://www.icq.com/people/webmsg.php?to=296095728
===================================
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/
http://message.wftx.us/
===================================
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
===================================


Reply With Quote
  #9  
Old 02-05-2007
Greg Lindsay [MSFT]
 
Posts: n/a
Re: Cant add @ CNAME record

You're right Kevin, for some reason I was thinking this was a dangling CNAME
problem. The host that would have to be missing an A record for that to be
the case is svr-web.otherdomain.com.

--
Greg Lindsay [MSFT]

Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

"Kevin D. Goodknecht Sr. [MVP]" <admin@nospam.WFTX.US> wrote in message
news:O8lULiGjHHA.4516@TK2MSFTNGP03.phx.gbl...
> Read inline please.
>
> In news:%23YFuxZDjHHA.1884@TK2MSFTNGP06.phx.gbl,
> Greg Lindsay [MSFT] <greglin@microsoft.com> typed:
>> Hi Scott,
>>
>> In your first post, you said you *could* add "@ A
>> 10.1.22.22", but when you listed the zone records I didn't see this
>> entry.
>>
>> A CNAME must point to an A record. Can you verify that you have this A
>> record created?

>
> This is irrelevant, you CANNOT have a CNAME record on the same node as an
> MX
> record.
> That is why he gets this error:
>> I get an Error:
>> An alias (CNAME) record cannot be added to this DNS name. The DNS
>> name
>> contains records that are incompatible with the CNAME record

>
>
> --
> Best regards,
> Kevin D. Goodknecht Sr. [MVP]
> Hope This Helps
> Send IM: http://www.icq.com/people/webmsg.php?to=296095728
> ===================================
> 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/
> http://message.wftx.us/
> ===================================
> 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
> ===================================
>
>



Reply With Quote
  #10  
Old 03-05-2007
Kevin D. Goodknecht Sr. [MVP]
 
Posts: n/a
Re: Cant add @ CNAME record

Read inline please.

In news:%23gWZREOjHHA.392@TK2MSFTNGP06.phx.gbl,
Greg Lindsay [MSFT] <greglin@microsoft.com> typed:
> You're right Kevin, for some reason I was thinking this was a
> dangling CNAME problem. The host that would have to be missing an A
> record for that to be the case is svr-web.otherdomain.com.


I'm still not sure the OP has picked up on this yet. RFCs plainly state that
CNAMES cannot exist on the same node with any other record, and CNAMES must
point to Address records or you end up with a dangling CNAME.


--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
Send IM: http://www.icq.com/people/webmsg.php?to=296095728
===================================
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/
http://message.wftx.us/
===================================
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
===================================


Reply With Quote
  #11  
Old 04-05-2007
Greg Lindsay [MSFT]
 
Posts: n/a
Re: Cant add @ CNAME record

RFC 1034 states "If a CNAME RR is present at a node, no other data should be
present; this ensures that the data for a canonical name and its aliases
cannot be different.
This rule also insures that a cached CNAME can be used without checking with
an authoritative server for other RR types."

However, I think RFC 2181 (Clarifications to the DNS Specification) does a
better job of explaining why:

10.3. MX and NS records

The domain name used as the value of a NS resource record, or part of
the value of a MX resource record must not be an alias. Not only is
the specification clear on this point, but using an alias in either
of these positions neither works as well as might be hoped, nor well
fulfills the ambition that may have led to this approach. This
domain name must have as its value one or more address records.
Currently those will be A records, however in the future other record
types giving addressing information may be acceptable. It can also
have other RRs, but never a CNAME RR.

Searching for either NS or MX records causes "additional section
processing" in which address records associated with the value of the
record sought are appended to the answer. This helps avoid needless
extra queries that are easily anticipated when the first was made.

Additional section processing does not include CNAME records, let
alone the address records that may be associated with the canonical
name derived from the alias. Thus, if an alias is used as the value
of an NS or MX record, no address will be returned with the NS or MX
value. This can cause extra queries, and extra network burden, on
every query. It is trivial for the DNS administrator to avoid this
by resolving the alias and placing the canonical name directly in the
affected record just once when it is updated or installed. In some
particular hard cases the lack of the additional section address
records in the results of a NS lookup can cause the request to fail.

--
Greg Lindsay [MSFT]

Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

"Kevin D. Goodknecht Sr. [MVP]" <admin@nospam.WFTX.US> wrote in message
news:uj0AMNRjHHA.4772@TK2MSFTNGP05.phx.gbl...
> Read inline please.
>
> In news:%23gWZREOjHHA.392@TK2MSFTNGP06.phx.gbl,
> Greg Lindsay [MSFT] <greglin@microsoft.com> typed:
>> You're right Kevin, for some reason I was thinking this was a
>> dangling CNAME problem. The host that would have to be missing an A
>> record for that to be the case is svr-web.otherdomain.com.

>
> I'm still not sure the OP has picked up on this yet. RFCs plainly state
> that
> CNAMES cannot exist on the same node with any other record, and CNAMES
> must
> point to Address records or you end up with a dangling CNAME.
>
>
> --
> Best regards,
> Kevin D. Goodknecht Sr. [MVP]
> Hope This Helps
> Send IM: http://www.icq.com/people/webmsg.php?to=296095728
> ===================================
> 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/
> http://message.wftx.us/
> ===================================
> 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
> ===================================
>
>



Reply With Quote
  #12  
Old 08-05-2007
tom
 
Posts: n/a
Re: Cant add @ CNAME record

Hi Scott,

I apologize for the delay in response.

Based on my research, and also some related cases, you can perform the
following steps to turn off this feature:

1. Found that the deleted record had replicated back into the server, and
that was causing a conflict. This can also happen with mx and other alias
records.
2. Deleted the problem A record
3. Created CNAME record
4. Forced replication

If anything is unclear or you have any concerns, please feel free to let me
know. I am glad to be of assistance.

Have a nice day!

Sincerely,
Tom Zhang, MCSE 2003
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Reply With Quote
  #13  
Old 11-05-2007
tom
 
Posts: n/a
Re: Cant add @ CNAME record

Dear Customer,

I just wanted to say hi, and to see how things are going. I haven't heard
back from you yet and I was wondering if there are any updates on the
service request.

Thanks.

Sincerely,
Tom Zhang
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Cant add @ CNAME record"
Thread Thread Starter Forum Replies Last Post
How to use CNAME lookup tool Deepest BLUE Technology & Internet 3 28-09-2009 06:50 PM
Cname vs A Record, help Shashee Technology & Internet 2 23-05-2009 08:41 AM
Trying to use CNAME in a UNC path Greg Ercolano Windows Server Help 7 14-11-2008 07:57 PM
Accessing LOCAL resources via DNS alias (CNAME) on W2k3 Roger Lindholm Windows Server Help 0 01-06-2006 05:21 PM
Windows DNS server - force A record to update PTR record Peter Cumming Windows Server Help 1 27-05-2006 07:00 PM


All times are GMT +5.5. The time now is 05:49 PM.