001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements. See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership. The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License. You may obtain a copy of the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing,
013 * software distributed under the License is distributed on an
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 * KIND, either express or implied. See the License for the
016 * specific language governing permissions and limitations
017 * under the License.
018 *
019 */
020
021 package org.apache.directory.server.dns.io.encoder;
022
023
024 /**
025 * 5.2 NXT RDATA Format
026 *
027 * The RDATA for an NXT RR consists simply of a domain name followed by
028 * a bit map.
029 *
030 * The type number for the NXT RR is 30.
031 *
032 * 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
033 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
034 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
035 * | next domain name /
036 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
037 * | type bit map /
038 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
039 *
040 * The NXT RR type bit map is one bit per RR type present for the owner
041 * name similar to the WKS socket bit map. The first bit represents RR
042 * type zero (an illegal type which should not be present.) A one bit
043 * indicates that at least one RR of that type is present for the owner
044 * name. A zero indicates that no such RR is present. All bits not
045 * specified because they are beyond the end of the bit map are assumed
046 * to be zero. Note that bit 30, for NXT, will always be on so the
047 * minimum bit map length is actually four octets. The NXT bit map
048 * should be printed as a list of RR type mnemonics or decimal numbers
049 * similar to the WKS RR.
050 *
051 * The domain name may be compressed with standard DNS name compression
052 * when being transmitted over the network. The size of the bit map can
053 * be inferred from the RDLENGTH and the length of the next domain name.
054 *
055 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
056 * @version $Rev: 501160 $, $Date: 2007-01-29 21:41:33 +0200 (Mon, 29 Jan 2007) $
057 */
058 public class NextNameRecordEncoder
059 {
060 }