org.apache.directory.server.dns.io.encoder
Class DnameRecordEncoder

java.lang.Object
  extended by org.apache.directory.server.dns.io.encoder.DnameRecordEncoder

public class DnameRecordEncoder
extends java.lang.Object

3. The DNAME Resource Record The DNAME RR has mnemonic DNAME and type code 39 (decimal). DNAME has the following format: DNAME The format is not class-sensitive. All fields are required. The RDATA field is a [DNSIS]. The DNAME RR causes type NS additional section processing. The effect of the DNAME record is the substitution of the record's for its as a suffix of a domain name. A "no- descendants" limitation governs the use of DNAMEs in a zone file: If a DNAME RR is present at a node N, there may be other data at N (except a CNAME or another DNAME), but there MUST be no data at any descendant of N. This restriction applies only to records of the same class as the DNAME record. This rule assures predictable results when a DNAME record is cached by a server which is not authoritative for the record's zone. It MUST be enforced when authoritative zone data is loaded. Together with the rules for DNS zone authority [DNSCLR] it implies that DNAME and NS records can only coexist at the top of a zone which has only one node. The compression scheme of [DNSIS] MUST NOT be applied to the RDATA portion of a DNAME record unless the sending server has some way of knowing that the receiver understands the DNAME record format. Signalling such understanding is expected to be the subject of future DNS Extensions. Naming loops can be created with DNAME records or a combination of DNAME and CNAME records, just as they can with CNAME records alone. Resolvers, including resolvers embedded in DNS servers, MUST limit the resources they devote to any query. Implementors should note, however, that fairly lengthy chains of DNAME records may be valid.


Constructor Summary
DnameRecordEncoder()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DnameRecordEncoder

public DnameRecordEncoder()


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.