org.xbill.DNS
Class Type

java.lang.Object
  |
  +--org.xbill.DNS.Type

public final class Type
extends Object

Constants and functions relating to DNS Types


Field Summary
static short A
          Address
static short A6
          IPv6 address
static short AAAA
          IPv6 address (old)
static short AFSDB
          AFS cell database
static short ANY
          Matches any type
static short ATMA
          ATM address
static short AXFR
          Zone transfer
static short CERT
          Certificate
static short CNAME
          Canonical name (alias)
static short DNAME
          Non-terminal name redirection
static short EID
          Endpoint identifier
static short GPOS
          Geographical position (withdrawn)
static short HINFO
          Host information
static short ISDN
          ISDN calling address
static short IXFR
          Incremental zone transfer
static short KEY
          Key
static short KX
          Key exchange
static short LOC
          Location
static short MAILA
          Transfer mail agent records
static short MAILB
          Transfer mailbox records
static short MB
          Mailbox domain name
static short MD
          Mail destination
static short MF
          Mail forwarder
static short MG
          Mail group member
static short MINFO
          Mailbox information
static short MR
          Mail rename name
static short MX
          Mail routing information
static short NAPTR
          Naming authority pointer
static short NIMLOC
          Nimrod locator
static short NS
          Name server
static short NSAP
          NSAP address
static short NSAP_PTR
          Reverse NSAP address (deprecated)
static short NULL
          Null record
static short NXT
          Next valid name in zone
static short OPT
          Options - contains EDNS metadata
static short PTR
          Domain name pointer
static short PX
          X.400 mail mapping
static short RP
          Responsible person
static short RT
          Router
static short SIG
          Signature
static short SOA
          Start of authority
static short SRV
          Server selection
static short TKEY
          Transaction key - used to compute a shared secret or exchange a key
static short TSIG
          Transaction signature
static short TXT
          Text strings
static short WKS
          Well known services
static short X25
          X_25 calling address
 
Method Summary
static boolean isRR(int type)
          Is this type valid for a record (a non-meta type)?
static String string(int i)
          Converts a numeric Type into a String
static short value(String s)
          Converts a String representation of an Type into its numeric value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A

public static final short A
Address

NS

public static final short NS
Name server

MD

public static final short MD
Mail destination

MF

public static final short MF
Mail forwarder

CNAME

public static final short CNAME
Canonical name (alias)

SOA

public static final short SOA
Start of authority

MB

public static final short MB
Mailbox domain name

MG

public static final short MG
Mail group member

MR

public static final short MR
Mail rename name

NULL

public static final short NULL
Null record

WKS

public static final short WKS
Well known services

PTR

public static final short PTR
Domain name pointer

HINFO

public static final short HINFO
Host information

MINFO

public static final short MINFO
Mailbox information

MX

public static final short MX
Mail routing information

TXT

public static final short TXT
Text strings

RP

public static final short RP
Responsible person

AFSDB

public static final short AFSDB
AFS cell database

X25

public static final short X25
X_25 calling address

ISDN

public static final short ISDN
ISDN calling address

RT

public static final short RT
Router

NSAP

public static final short NSAP
NSAP address

NSAP_PTR

public static final short NSAP_PTR
Reverse NSAP address (deprecated)

SIG

public static final short SIG
Signature

KEY

public static final short KEY
Key

PX

public static final short PX
X.400 mail mapping

GPOS

public static final short GPOS
Geographical position (withdrawn)

AAAA

public static final short AAAA
IPv6 address (old)

LOC

public static final short LOC
Location

NXT

public static final short NXT
Next valid name in zone

EID

public static final short EID
Endpoint identifier

NIMLOC

public static final short NIMLOC
Nimrod locator

SRV

public static final short SRV
Server selection

ATMA

public static final short ATMA
ATM address

NAPTR

public static final short NAPTR
Naming authority pointer

KX

public static final short KX
Key exchange

CERT

public static final short CERT
Certificate

A6

public static final short A6
IPv6 address

DNAME

public static final short DNAME
Non-terminal name redirection

OPT

public static final short OPT
Options - contains EDNS metadata

TKEY

public static final short TKEY
Transaction key - used to compute a shared secret or exchange a key

TSIG

public static final short TSIG
Transaction signature

IXFR

public static final short IXFR
Incremental zone transfer

AXFR

public static final short AXFR
Zone transfer

MAILB

public static final short MAILB
Transfer mailbox records

MAILA

public static final short MAILA
Transfer mail agent records

ANY

public static final short ANY
Matches any type
Method Detail

string

public static String string(int i)
Converts a numeric Type into a String

value

public static short value(String s)
Converts a String representation of an Type into its numeric value

isRR

public static boolean isRR(int type)
Is this type valid for a record (a non-meta type)?