1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 *
19 */
20
21 package org.apache.directory.server.dns.io.encoder;
22
23
24 /**
25 * 5.2 NXT RDATA Format
26 *
27 * The RDATA for an NXT RR consists simply of a domain name followed by
28 * a bit map.
29 *
30 * The type number for the NXT RR is 30.
31 *
32 * 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
33 * 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
34 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
35 * | next domain name /
36 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
37 * | type bit map /
38 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
39 *
40 * The NXT RR type bit map is one bit per RR type present for the owner
41 * name similar to the WKS socket bit map. The first bit represents RR
42 * type zero (an illegal type which should not be present.) A one bit
43 * indicates that at least one RR of that type is present for the owner
44 * name. A zero indicates that no such RR is present. All bits not
45 * specified because they are beyond the end of the bit map are assumed
46 * to be zero. Note that bit 30, for NXT, will always be on so the
47 * minimum bit map length is actually four octets. The NXT bit map
48 * should be printed as a list of RR type mnemonics or decimal numbers
49 * similar to the WKS RR.
50 *
51 * The domain name may be compressed with standard DNS name compression
52 * when being transmitted over the network. The size of the bit map can
53 * be inferred from the RDLENGTH and the length of the next domain name.
54 *
55 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
56 * @version $Rev: 501160 $, $Date: 2007-01-29 20:41:33 +0100 (Mo, 29 Jan 2007) $
57 */
58 public class NextNameRecordEncoder
59 {
60 }