Constant Field Values (dnsjava documentation)
Date: 2013-04-10

# Constant Field Values

## Contents

- org.xbill.*

## org.xbill.*

- org.xbill.DNS.Address
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `IPv4` | `1`
  `public static final int` | `IPv6` | `2`

- org.xbill.DNS.CERTRecord
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `OID` | `254`
  `public static final int` | `PGP` | `3`
  `public static final int` | `PKIX` | `1`
  `public static final int` | `SPKI` | `2`
  `public static final int` | `URI` | `253`

- org.xbill.DNS.CERTRecord.CertificateType
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ACPKIX` | `7`
  `public static final int` | `IACPKIX` | `8`
  `public static final int` | `IPGP` | `6`
  `public static final int` | `IPKIX` | `4`
  `public static final int` | `ISPKI` | `5`
  `public static final int` | `OID` | `254`
  `public static final int` | `PGP` | `3`
  `public static final int` | `PKIX` | `1`
  `public static final int` | `SPKI` | `2`
  `public static final int` | `URI` | `253`

- org.xbill.DNS.Credibility
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ADDITIONAL` | `1`
  `public static final int` | `ANY` | `1`
  `public static final int` | `AUTH_ANSWER` | `4`
  `public static final int` | `AUTH_AUTHORITY` | `4`
  `public static final int` | `GLUE` | `2`
  `public static final int` | `HINT` | `0`
  `public static final int` | `NONAUTH_ANSWER` | `3`
  `public static final int` | `NONAUTH_AUTHORITY` | `3`
  `public static final int` | `NORMAL` | `3`
  `public static final int` | `ZONE` | `5`

- org.xbill.DNS.DClass
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ANY` | `255`
  `public static final int` | `CH` | `3`
  `public static final int` | `CHAOS` | `3`
  `public static final int` | `HESIOD` | `4`
  `public static final int` | `HS` | `4`
  `public static final int` | `IN` | `1`
  `public static final int` | `NONE` | `254`

- org.xbill.DNS.DLVRecord
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SHA1_DIGEST_ID` | `1`
  `public static final int` | `SHA256_DIGEST_ID` | `1`

- org.xbill.DNS.DNSKEYRecord.Flags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REVOKE` | `128`
  `public static final int` | `SEP_KEY` | `1`
  `public static final int` | `ZONE_KEY` | `256`

- org.xbill.DNS.DNSKEYRecord.Protocol
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DNSSEC` | `3`

- org.xbill.DNS.DNSSEC.Algorithm
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DH` | `2`
  `public static final int` | `DSA` | `3`
  `public static final int` | `DSA_NSEC3_SHA1` | `6`
  `public static final int` | `ECDSAP256SHA256` | `13`
  `public static final int` | `ECDSAP384SHA384` | `14`
  `public static final int` | `INDIRECT` | `252`
  `public static final int` | `PRIVATEDNS` | `253`
  `public static final int` | `PRIVATEOID` | `254`
  `public static final int` | `RSA_NSEC3_SHA1` | `7`
  `public static final int` | `RSAMD5` | `1`
  `public static final int` | `RSASHA1` | `5`
  `public static final int` | `RSASHA256` | `8`
  `public static final int` | `RSASHA512` | `10`

- org.xbill.DNS.DSRecord
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SHA1_DIGEST_ID` | `1`
  `public static final int` | `SHA256_DIGEST_ID` | `2`
  `public static final int` | `SHA384_DIGEST_ID` | `4`

- org.xbill.DNS.DSRecord.Digest
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SHA1` | `1`
  `public static final int` | `SHA256` | `2`
  `public static final int` | `SHA384` | `4`

- org.xbill.DNS.EDNSOption.Code
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CLIENT_SUBNET` | `20730`
  `public static final int` | `NSID` | `3`

- org.xbill.DNS.ExtendedFlags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DO` | `32768`

- org.xbill.DNS.Flags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final byte` | `AA` | `5`
  `public static final byte` | `AD` | `10`
  `public static final byte` | `CD` | `11`
  `public static final int` | `DO` | `32768`
  `public static final byte` | `QR` | `0`
  `public static final byte` | `RA` | `8`
  `public static final byte` | `RD` | `7`
  `public static final byte` | `TC` | `6`

- org.xbill.DNS.Header
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `LENGTH` | `12`

- org.xbill.DNS.IPSECKEYRecord.Algorithm
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DSA` | `1`
  `public static final int` | `RSA` | `2`

- org.xbill.DNS.IPSECKEYRecord.Gateway
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `IPv4` | `1`
  `public static final int` | `IPv6` | `2`
  `public static final int` | `Name` | `3`
  `public static final int` | `None` | `0`

- org.xbill.DNS.KEYRecord
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `FLAG_NOAUTH` | `32768`
  `public static final int` | `FLAG_NOCONF` | `16384`
  `public static final int` | `FLAG_NOKEY` | `49152`
  `public static final int` | `OWNER_HOST` | `512`
  `public static final int` | `OWNER_USER` | `0`
  `public static final int` | `OWNER_ZONE` | `256`
  `public static final int` | `PROTOCOL_ANY` | `255`
  `public static final int` | `PROTOCOL_DNSSEC` | `3`
  `public static final int` | `PROTOCOL_EMAIL` | `2`
  `public static final int` | `PROTOCOL_IPSEC` | `4`
  `public static final int` | `PROTOCOL_TLS` | `1`

- org.xbill.DNS.KEYRecord.Flags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `EXTEND` | `4096`
  `public static final int` | `FLAG10` | `32`
  `public static final int` | `FLAG11` | `16`
  `public static final int` | `FLAG2` | `8192`
  `public static final int` | `FLAG4` | `2048`
  `public static final int` | `FLAG5` | `1024`
  `public static final int` | `FLAG8` | `128`
  `public static final int` | `FLAG9` | `64`
  `public static final int` | `HOST` | `512`
  `public static final int` | `NOAUTH` | `32768`
  `public static final int` | `NOCONF` | `16384`
  `public static final int` | `NOKEY` | `49152`
  `public static final int` | `NTYP3` | `768`
  `public static final int` | `OWNER_MASK` | `768`
  `public static final int` | `SIG0` | `0`
  `public static final int` | `SIG1` | `1`
  `public static final int` | `SIG10` | `10`
  `public static final int` | `SIG11` | `11`
  `public static final int` | `SIG12` | `12`
  `public static final int` | `SIG13` | `13`
  `public static final int` | `SIG14` | `14`
  `public static final int` | `SIG15` | `15`
  `public static final int` | `SIG2` | `2`
  `public static final int` | `SIG3` | `3`
  `public static final int` | `SIG4` | `4`
  `public static final int` | `SIG5` | `5`
  `public static final int` | `SIG6` | `6`
  `public static final int` | `SIG7` | `7`
  `public static final int` | `SIG8` | `8`
  `public static final int` | `SIG9` | `9`
  `public static final int` | `USE_MASK` | `49152`
  `public static final int` | `USER` | `0`
  `public static final int` | `ZONE` | `256`

- org.xbill.DNS.KEYRecord.Protocol
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ANY` | `255`
  `public static final int` | `DNSSEC` | `3`
  `public static final int` | `EMAIL` | `2`
  `public static final int` | `IPSEC` | `4`
  `public static final int` | `NONE` | `0`
  `public static final int` | `TLS` | `1`

- org.xbill.DNS.Lookup
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `HOST_NOT_FOUND` | `3`
  `public static final int` | `SUCCESSFUL` | `0`
  `public static final int` | `TRY_AGAIN` | `2`
  `public static final int` | `TYPE_NOT_FOUND` | `4`
  `public static final int` | `UNRECOVERABLE` | `1`

- org.xbill.DNS.Message
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `MAXLENGTH` | `65535`

- org.xbill.DNS.NSEC3Record
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SHA1_DIGEST_ID` | `1`

- org.xbill.DNS.NSEC3Record.Digest
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SHA1` | `1`

- org.xbill.DNS.NSEC3Record.Flags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `OPT_OUT` | `1`

- org.xbill.DNS.Opcode
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `IQUERY` | `1`
  `public static final int` | `NOTIFY` | `4`
  `public static final int` | `QUERY` | `0`
  `public static final int` | `STATUS` | `2`
  `public static final int` | `UPDATE` | `5`

- org.xbill.DNS.Rcode
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `BADKEY` | `17`
  `public static final int` | `BADMODE` | `19`
  `public static final int` | `BADSIG` | `16`
  `public static final int` | `BADTIME` | `18`
  `public static final int` | `BADVERS` | `16`
  `public static final int` | `FORMERR` | `1`
  `public static final int` | `NOERROR` | `0`
  `public static final int` | `NOTAUTH` | `9`
  `public static final int` | `NOTIMP` | `4`
  `public static final int` | `NOTIMPL` | `4`
  `public static final int` | `NOTZONE` | `10`
  `public static final int` | `NXDOMAIN` | `3`
  `public static final int` | `NXRRSET` | `8`
  `public static final int` | `REFUSED` | `5`
  `public static final int` | `SERVFAIL` | `2`
  `public static final int` | `YXDOMAIN` | `6`
  `public static final int` | `YXRRSET` | `7`

- org.xbill.DNS.Section
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ADDITIONAL` | `3`
  `public static final int` | `ANSWER` | `1`
  `public static final int` | `AUTHORITY` | `2`
  `public static final int` | `PREREQ` | `1`
  `public static final int` | `QUESTION` | `0`
  `public static final int` | `UPDATE` | `2`
  `public static final int` | `ZONE` | `0`

- org.xbill.DNS.SimpleResolver
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DEFAULT_EDNS_PAYLOADSIZE` | `1280`
  `public static final int` | `DEFAULT_PORT` | `53`

- org.xbill.DNS.SSHFPRecord.Algorithm
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DSS` | `2`
  `public static final int` | `RSA` | `1`

- org.xbill.DNS.SSHFPRecord.Digest
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SHA1` | `1`

- org.xbill.DNS.TKEYRecord
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DELETE` | `5`
  `public static final int` | `DIFFIEHELLMAN` | `2`
  `public static final int` | `GSSAPI` | `3`
  `public static final int` | `RESOLVERASSIGNED` | `4`
  `public static final int` | `SERVERASSIGNED` | `1`

- org.xbill.DNS.TLSARecord.CertificateUsage
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CA_CONSTRAINT` | `0`
  `public static final int` | `DOMAIN_ISSUED_CERTIFICATE` | `3`
  `public static final int` | `SERVICE_CERTIFICATE_CONSTRAINT` | `1`
  `public static final int` | `TRUST_ANCHOR_ASSERTION` | `2`

- org.xbill.DNS.TLSARecord.MatchingType
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `EXACT` | `0`
  `public static final int` | `SHA256` | `1`
  `public static final int` | `SHA512` | `2`

- org.xbill.DNS.TLSARecord.Selector
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `FULL_CERTIFICATE` | `0`
  `public static final int` | `SUBJECT_PUBLIC_KEY_INFO` | `1`

- org.xbill.DNS.Tokenizer
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `COMMENT` | `5`
  `public static final int` | `EOF` | `0`
  `public static final int` | `EOL` | `1`
  `public static final int` | `IDENTIFIER` | `3`
  `public static final int` | `QUOTED_STRING` | `4`
  `public static final int` | `WHITESPACE` | `2`

- org.xbill.DNS.TSIG
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final short` | `FUDGE` | `300`

- org.xbill.DNS.TTL
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final long` | `MAX_VALUE` | `2147483647L`

- org.xbill.DNS.Type
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `A` | `1`
  `public static final int` | `A6` | `38`
  `public static final int` | `AAAA` | `28`
  `public static final int` | `AFSDB` | `18`
  `public static final int` | `ANY` | `255`
  `public static final int` | `APL` | `42`
  `public static final int` | `ATMA` | `34`
  `public static final int` | `AXFR` | `252`
  `public static final int` | `CERT` | `37`
  `public static final int` | `CNAME` | `5`
  `public static final int` | `DHCID` | `49`
  `public static final int` | `DLV` | `32769`
  `public static final int` | `DNAME` | `39`
  `public static final int` | `DNSKEY` | `48`
  `public static final int` | `DS` | `43`
  `public static final int` | `EID` | `31`
  `public static final int` | `GPOS` | `27`
  `public static final int` | `HINFO` | `13`
  `public static final int` | `IPSECKEY` | `45`
  `public static final int` | `ISDN` | `20`
  `public static final int` | `IXFR` | `251`
  `public static final int` | `KEY` | `25`
  `public static final int` | `KX` | `36`
  `public static final int` | `LOC` | `29`
  `public static final int` | `MAILA` | `254`
  `public static final int` | `MAILB` | `253`
  `public static final int` | `MB` | `7`
  `public static final int` | `MD` | `3`
  `public static final int` | `MF` | `4`
  `public static final int` | `MG` | `8`
  `public static final int` | `MINFO` | `14`
  `public static final int` | `MR` | `9`
  `public static final int` | `MX` | `15`
  `public static final int` | `NAPTR` | `35`
  `public static final int` | `NIMLOC` | `32`
  `public static final int` | `NS` | `2`
  `public static final int` | `NSAP` | `22`
  `public static final int` | `NSAP_PTR` | `23`
  `public static final int` | `NSEC` | `47`
  `public static final int` | `NSEC3` | `50`
  `public static final int` | `NSEC3PARAM` | `51`
  `public static final int` | `NULL` | `10`
  `public static final int` | `NXT` | `30`
  `public static final int` | `OPT` | `41`
  `public static final int` | `PTR` | `12`
  `public static final int` | `PX` | `26`
  `public static final int` | `RP` | `17`
  `public static final int` | `RRSIG` | `46`
  `public static final int` | `RT` | `21`
  `public static final int` | `SIG` | `24`
  `public static final int` | `SOA` | `6`
  `public static final int` | `SPF` | `99`
  `public static final int` | `SRV` | `33`
  `public static final int` | `SSHFP` | `44`
  `public static final int` | `TKEY` | `249`
  `public static final int` | `TLSA` | `52`
  `public static final int` | `TSIG` | `250`
  `public static final int` | `TXT` | `16`
  `public static final int` | `WKS` | `11`
  `public static final int` | `X25` | `19`

- org.xbill.DNS.WKSRecord.Protocol
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ARGUS` | `13`
  `public static final int` | `BBN_RCC_MON` | `10`
  `public static final int` | `BR_SAT_MON` | `76`
  `public static final int` | `CFTP` | `62`
  `public static final int` | `CHAOS` | `16`
  `public static final int` | `DCN_MEAS` | `19`
  `public static final int` | `EGP` | `8`
  `public static final int` | `EMCON` | `14`
  `public static final int` | `GGP` | `3`
  `public static final int` | `HMP` | `20`
  `public static final int` | `ICMP` | `1`
  `public static final int` | `IGMP` | `2`
  `public static final int` | `IGP` | `9`
  `public static final int` | `IPCV` | `71`
  `public static final int` | `IPPC` | `67`
  `public static final int` | `IRTP` | `28`
  `public static final int` | `ISO_TP4` | `29`
  `public static final int` | `LEAF_1` | `25`
  `public static final int` | `LEAF_2` | `26`
  `public static final int` | `MERIT_INP` | `32`
  `public static final int` | `MFE_NSP` | `31`
  `public static final int` | `MIT_SUBNET` | `65`
  `public static final int` | `MUX` | `18`
  `public static final int` | `NETBLT` | `30`
  `public static final int` | `NVP_II` | `11`
  `public static final int` | `PRM` | `21`
  `public static final int` | `PUP` | `12`
  `public static final int` | `RDP` | `27`
  `public static final int` | `RVD` | `66`
  `public static final int` | `SAT_EXPAK` | `64`
  `public static final int` | `SAT_MON` | `69`
  `public static final int` | `SEP` | `33`
  `public static final int` | `ST` | `5`
  `public static final int` | `TCP` | `6`
  `public static final int` | `TRUNK_1` | `23`
  `public static final int` | `TRUNK_2` | `24`
  `public static final int` | `UCL` | `7`
  `public static final int` | `UDP` | `17`
  `public static final int` | `WB_EXPAK` | `79`
  `public static final int` | `WB_MON` | `78`
  `public static final int` | `XNET` | `15`
  `public static final int` | `XNS_IDP` | `22`

- org.xbill.DNS.WKSRecord.Service
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `AUTH` | `113`
  `public static final int` | `BL_IDM` | `142`
  `public static final int` | `BOOTPC` | `68`
  `public static final int` | `BOOTPS` | `67`
  `public static final int` | `CHARGEN` | `19`
  `public static final int` | `CISCO_FNA` | `130`
  `public static final int` | `CISCO_SYS` | `132`
  `public static final int` | `CISCO_TNA` | `131`
  `public static final int` | `CSNET_NS` | `105`
  `public static final int` | `DAYTIME` | `13`
  `public static final int` | `DCP` | `93`
  `public static final int` | `DISCARD` | `9`
  `public static final int` | `DOMAIN` | `53`
  `public static final int` | `DSP` | `33`
  `public static final int` | `ECHO` | `7`
  `public static final int` | `EMFIS_CNTL` | `141`
  `public static final int` | `EMFIS_DATA` | `140`
  `public static final int` | `ERPC` | `121`
  `public static final int` | `FINGER` | `79`
  `public static final int` | `FTP` | `21`
  `public static final int` | `FTP_DATA` | `20`
  `public static final int` | `GRAPHICS` | `41`
  `public static final int` | `HOSTNAME` | `101`
  `public static final int` | `HOSTS2_NS` | `81`
  `public static final int` | `INGRES_NET` | `134`
  `public static final int` | `ISI_GL` | `55`
  `public static final int` | `ISO_TSAP` | `102`
  `public static final int` | `LA_MAINT` | `51`
  `public static final int` | `LINK` | `245`
  `public static final int` | `LOC_SRV` | `135`
  `public static final int` | `LOCUS_CON` | `127`
  `public static final int` | `LOCUS_MAP` | `125`
  `public static final int` | `LOGIN` | `49`
  `public static final int` | `METAGRAM` | `99`
  `public static final int` | `MIT_DOV` | `91`
  `public static final int` | `MPM` | `45`
  `public static final int` | `MPM_FLAGS` | `44`
  `public static final int` | `MPM_SND` | `46`
  `public static final int` | `MSG_AUTH` | `31`
  `public static final int` | `MSG_ICP` | `29`
  `public static final int` | `NAMESERVER` | `42`
  `public static final int` | `NETBIOS_DGM` | `138`
  `public static final int` | `NETBIOS_NS` | `137`
  `public static final int` | `NETBIOS_SSN` | `139`
  `public static final int` | `NETRJS_1` | `71`
  `public static final int` | `NETRJS_2` | `72`
  `public static final int` | `NETRJS_3` | `73`
  `public static final int` | `NETRJS_4` | `74`
  `public static final int` | `NI_FTP` | `47`
  `public static final int` | `NI_MAIL` | `61`
  `public static final int` | `NICNAME` | `43`
  `public static final int` | `NNTP` | `119`
  `public static final int` | `NSW_FE` | `27`
  `public static final int` | `NTP` | `123`
  `public static final int` | `POP_2` | `109`
  `public static final int` | `PROFILE` | `136`
  `public static final int` | `PWDGEN` | `129`
  `public static final int` | `QUOTE` | `17`
  `public static final int` | `RJE` | `5`
  `public static final int` | `RLP` | `39`
  `public static final int` | `RTELNET` | `107`
  `public static final int` | `SFTP` | `115`
  `public static final int` | `SMTP` | `25`
  `public static final int` | `STATSRV` | `133`
  `public static final int` | `SU_MIT_TG` | `89`
  `public static final int` | `SUNRPC` | `111`
  `public static final int` | `SUPDUP` | `95`
  `public static final int` | `SUR_MEAS` | `243`
  `public static final int` | `SWIFT_RVF` | `97`
  `public static final int` | `TACACS_DS` | `65`
  `public static final int` | `TACNEWS` | `98`
  `public static final int` | `TELNET` | `23`
  `public static final int` | `TFTP` | `69`
  `public static final int` | `TIME` | `37`
  `public static final int` | `USERS` | `11`
  `public static final int` | `UUCP_PATH` | `117`
  `public static final int` | `VIA_FTP` | `63`
  `public static final int` | `X400` | `103`
  `public static final int` | `X400_SND` | `104`

- org.xbill.DNS.Zone
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `PRIMARY` | `1`
  `public static final int` | `SECONDARY` | `2`

- org.xbill.DNS.utils.base32.Alphabet
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `BASE32` | `"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="`
  `public static final String` | `BASE32HEX` | `"0123456789ABCDEFGHIJKLMNOPQRSTUV="`