/* * Copyrigth (C) 2010 Henrik Baastrup. * * Licensed under the GNU Lesser General Public License version 3; * you may not use this file except in compliance with the License. * You should have received a copy of the license together with this * file but can obtain a copy of the License at: * * http://www.gnu.org/licenses/lgpl-3.0.txt * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package javax.net.stun.dns; /** * Constants and functions relating to DNS Types * * @author Henrik Baastrup */ public class DType { /** Address */ public static final int A = 1; /** Name server */ public static final int NS = 2; /** Mail destination */ public static final int MD = 3; /** Mail forwarder */ public static final int MF = 4; /** Canonical name (alias) */ public static final int CNAME = 5; /** Start of authority */ public static final int SOA = 6; /** Mailbox domain name */ public static final int MB = 7; /** Mail group member */ public static final int MG = 8; /** Mail rename name */ public static final int MR = 9; /** Null record */ public static final int NULL = 10; /** Well known services */ public static final int WKS = 11; /** Domain name pointer */ public static final int PTR = 12; /** Host information */ public static final int HINFO = 13; /** Mailbox information */ public static final int MINFO = 14; /** Mail routing information */ public static final int MX = 15; /** Text strings */ public static final int TXT = 16; /** Responsible person */ public static final int RP = 17; /** AFS cell database */ public static final int AFSDB = 18; /** X.25 calling address */ public static final int X25 = 19; /** ISDN calling address */ public static final int ISDN = 20; /** Router */ public static final int RT = 21; /** NSAP address */ public static final int NSAP = 22; /** Reverse NSAP address (deprecated) */ public static final int NSAP_PTR = 23; /** Signature */ public static final int SIG = 24; /** Key */ public static final int KEY = 25; /** X.400 mail mapping */ public static final int PX = 26; /** Geographical position (withdrawn) */ public static final int GPOS = 27; /** IPv6 address */ public static final int AAAA = 28; /** Location */ public static final int LOC = 29; /** Next valid name in zone */ public static final int NXT = 30; /** Endpoint identifier */ public static final int EID = 31; /** Nimrod locator */ public static final int NIMLOC = 32; /** Server selection */ public static final int SRV = 33; /** ATM address */ public static final int ATMA = 34; /** Naming authority pointer */ public static final int NAPTR = 35; /** Key exchange */ public static final int KX = 36; /** Certificate */ public static final int CERT = 37; /** IPv6 address (experimental) */ public static final int A6 = 38; /** Non-terminal name redirection */ public static final int DNAME = 39; /** Options - contains EDNS metadata */ public static final int OPT = 41; /** Address Prefix List */ public static final int APL = 42; /** Delegation Signer */ public static final int DS = 43; /** SSH Key Fingerprint */ public static final int SSHFP = 44; /** IPSEC key */ public static final int IPSECKEY = 45; /** Resource Record Signature */ public static final int RRSIG = 46; /** Next Secure Name */ public static final int NSEC = 47; /** DNSSEC Key */ public static final int DNSKEY = 48; /** Dynamic Host Configuration Protocol (DHCP) ID */ public static final int DHCID = 49; /** Next SECure, 3rd edition, RFC 5155 */ public static final int NSEC3 = 50; public static final int NSEC3PARAM = 51; /** Sender Policy Framework (experimental) */ public static final int SPF = 99; /** Transaction key - used to compute a shared secret or exchange a key */ public static final int TKEY = 249; /** Transaction signature */ public static final int TSIG = 250; /** Incremental zone transfer */ public static final int IXFR = 251; /** Zone transfer */ public static final int AXFR = 252; /** Transfer mailbox records */ public static final int MAILB = 253; /** Transfer mail agent records */ public static final int MAILA = 254; /** Matches any type */ public static final int ANY = 255; /** DNSSEC Lookaside Validation, RFC 4431 . */ public static final int DLV = 32769; }