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 * 3.1 KX RDATA format
26 *
27 * The KX DNS record has the following RDATA format:
28 *
29 * +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
30 * | PREFERENCE |
31 * +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
32 * / EXCHANGER /
33 * / /
34 * +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
35 *
36 * where:
37 *
38 * PREFERENCE A 16 bit non-negative integer which specifies the
39 * preference given to this RR among other KX records
40 * at the same owner. Lower values are preferred.
41 *
42 * EXCHANGER A <domain-name> which specifies a host willing to
43 * act as a mail exchange for the owner name.
44 *
45 * KX records MUST cause type A additional section processing for the
46 * host specified by EXCHANGER. In the event that the host processing
47 * the DNS transaction supports IPv6, KX records MUST also cause type
48 * AAAA additional section processing.
49 *
50 * The KX RDATA field MUST NOT be compressed.
51 *
52 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
53 * @version $Rev: 501160 $, $Date: 2007-01-29 20:41:33 +0100 (Mo, 29 Jan 2007) $
54 */
55 public class KeyExchangeRecordEncoder
56 {
57 }