Re: CNAME Error

This is a discussion on Re: CNAME Error within the Bind Users forums, part of the DNS and Related Forums category; Thank you all so much for the info. That was definitely the problem. And Jim, because of what you wrote ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-13-2004
Yann Debonne
 
Posts: n/a
Default Re: CNAME Error

Thank you all so much for the info. That was definitely the problem. And
Jim, because of what you wrote below, I now know why I never had this
problem before. This is the first time that I have not explicitly use
fully qualified, dot-terminated domain names throughout the zone file.

So, just for the record, what if I WANT to place the TXT and RP records at
the bottom of the file with CNAME options? Is there any syntax that can be
put before the TXT and RP records so I can drop them to the bottom? Or is
my only option to use fully qualified, dot-terminated domain names
throughout the zone file?

Thanks,

y

--On Monday, July 12, 2004 12:05 PM +0100 Jim Reid <jim@rfc1035.com> wrote:

>>>>>> "Gabriele" == Gabriele Piroddi <gabrielepiroddi@yahoo.it> writes:

>
> Gabriele> The class "IN" is missing. So, the two record shoud be:
>
> Gabriele> www IN CNAME dovecanyontech.com.
> Gabriele> ftp IN CNAME dovecanyontech.com.
>
> Nope. The spec says that when the name, class, type or TTL for some RR
> are missing, their values are inherited from the last RR that defined
> them. So the missing "IN" class doesn't matter as it was defined in
> earlier records in the zone file.
>
> The problem with the OP's zone is not the CNAMEs. It's the TXT and RP
> records which follow them.
>
> These have the name ftp.whatever-the-domain-is, which is inherited
> from the last RR to set the domain name: the CNAME for ftp. So the TXT
> and RP records are for ftp.whatever-the-domain-is rather than the
> actual domain name, which was probably what was intended. However
> since ftp.whatever-the-domain-is already exists as a CNAME, it cannot
> exist as any other record type. That means these TXT and RP records
> are illegal and that's why the zone gets rejected. If they'd been
> placed before the CNAME entries, all would have been well.
>
> The OP wouldn't have had this problem if he/she explicitly used fully
> qualified, dot-terminated domain names throughout the zone file. This
> avoids these sorts of problems when an oversight with an earlier entry
> in the zone file changes the semantics of later RRs in the file.
>
> >> www CNAME dovecanyontech.com.
> >> ftp CNAME dovecanyontech.com.
> >>
> >> IN TXT "Location: Yann's Office"
> >> IN RP jim.dovecanyontech.com. .




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0