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 * 3.1 KX RDATA format
026 *
027 * The KX DNS record has the following RDATA format:
028 *
029 * +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
030 * | PREFERENCE |
031 * +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
032 * / EXCHANGER /
033 * / /
034 * +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
035 *
036 * where:
037 *
038 * PREFERENCE A 16 bit non-negative integer which specifies the
039 * preference given to this RR among other KX records
040 * at the same owner. Lower values are preferred.
041 *
042 * EXCHANGER A <domain-name> which specifies a host willing to
043 * act as a mail exchange for the owner name.
044 *
045 * KX records MUST cause type A additional section processing for the
046 * host specified by EXCHANGER. In the event that the host processing
047 * the DNS transaction supports IPv6, KX records MUST also cause type
048 * AAAA additional section processing.
049 *
050 * The KX RDATA field MUST NOT be compressed.
051 *
052 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
053 * @version $Rev: 501160 $, $Date: 2007-01-29 21:41:33 +0200 (Mon, 29 Jan 2007) $
054 */
055 public class KeyExchangeRecordEncoder
056 {
057 }