You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2005/01/13 07:28:10 UTC
svn commit: r125047 - /incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java /incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java
Author: erodriguez
Date: Wed Jan 12 22:28:08 2005
New Revision: 125047
URL: http://svn.apache.org/viewcvs?view=rev&rev=125047
Log:
Edits to types and classes in line with RFCs.
Modified:
incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java
incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java
Modified: incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java
Url: http://svn.apache.org/viewcvs/incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java?view=diff&rev=125047&p1=incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java&r1=125046&p2=incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java&r2=125047
==============================================================================
--- incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java (original)
+++ incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordClass.java Wed Jan 12 22:28:08 2005
@@ -28,14 +28,12 @@
* Enumeration elements are constructed once upon class loading.
* Order of appearance here determines the order of compareTo.
*/
- public static final RecordClass IN = new RecordClass( 1, "Internet" );
- public static final RecordClass CS = new RecordClass( 2, "CSNET class" );
- public static final RecordClass CH = new RecordClass( 3, "Chaos network (MIT)" );
- public static final RecordClass CHAOS = new RecordClass( 3, "Chaos network (MIT, alternate name)" );
- public static final RecordClass HS = new RecordClass( 4, "Hesiod name server (MIT)" );
- public static final RecordClass HESIOD = new RecordClass( 4, "Hesiod name server (MIT, alternate name)" );
- public static final RecordClass NONE = new RecordClass( 254, "Special value used in dynamic update messages" );
- public static final RecordClass ANY = new RecordClass( 255, "Any class" );
+ public static final RecordClass IN = new RecordClass( 1, "Internet" );
+ public static final RecordClass CS = new RecordClass( 2, "CSNET class" );
+ public static final RecordClass CH = new RecordClass( 3, "CHAOS class" );
+ public static final RecordClass HS = new RecordClass( 4, "Hesiod [Dyer 87]" );
+ public static final RecordClass NONE = new RecordClass( 254, "Special value used in dynamic update messages" );
+ public static final RecordClass ANY = new RecordClass( 255, "Any class" );
public String toString()
{
@@ -76,7 +74,7 @@
/**
* These two lines are all that's necessary to export a List of VALUES.
*/
- private static final RecordClass[] values = { IN, CH, CHAOS, HS, HESIOD, NONE, ANY };
+ private static final RecordClass[] values = { IN, CS, CH, HS, NONE, ANY };
// VALUES needs to be located here, otherwise illegal forward reference
public static final List VALUES = Collections.unmodifiableList( Arrays.asList( values ) );
}
Modified: incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java
Url: http://svn.apache.org/viewcvs/incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java?view=diff&rev=125047&p1=incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java&r1=125046&p2=incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java&r2=125047
==============================================================================
--- incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java (original)
+++ incubator/directory/dns/trunk/core/src/java/org/apache/dns/records/RecordType.java Wed Jan 12 22:28:08 2005
@@ -27,21 +27,21 @@
* Enumeration elements are constructed once upon class loading.
* Order of appearance here determines the order of compareTo.
*/
- public static final RecordType A = new RecordType( 1, "A", "Address" );
- public static final RecordType NS = new RecordType( 2, "NS", "Name server" );
+ public static final RecordType A = new RecordType( 1, "A", "Host address" );
+ public static final RecordType NS = new RecordType( 2, "NS", "Authoritative name server" );
public static final RecordType MD = new RecordType( 3, "MD", "Mail destination" );
public static final RecordType MF = new RecordType( 4, "MF", "Mail forwarder" );
- public static final RecordType CNAME = new RecordType( 5, "CNAME", "Canonical name" );
- public static final RecordType SOA = new RecordType( 6, "SOA", "Start of authority" );
- public static final RecordType MB = new RecordType( 7, "MB", "Mailbox" );
+ public static final RecordType CNAME = new RecordType( 5, "CNAME", "Canonical name for an alias" );
+ public static final RecordType SOA = new RecordType( 6, "SOA", "Start of a zone of authority" );
+ public static final RecordType MB = new RecordType( 7, "MB", "Mailbox domain name" );
public static final RecordType MG = new RecordType( 8, "MG", "Mail group member" );
- public static final RecordType MR = new RecordType( 9, "MR", "Mail rename" );
- public static final RecordType NULL = new RecordType( 10, "NULL", "Null" );
- public static final RecordType WKS = new RecordType( 11, "WKS", "Well known services" );
- public static final RecordType PTR = new RecordType( 12, "PTR", "Pointer" );
+ public static final RecordType MR = new RecordType( 9, "MR", "Mail rename domain name" );
+ public static final RecordType NULL = new RecordType( 10, "NULL", "Null resource record" );
+ public static final RecordType WKS = new RecordType( 11, "WKS", "Well known service description" );
+ public static final RecordType PTR = new RecordType( 12, "PTR", "Domain name pointer" );
public static final RecordType HINFO = new RecordType( 13, "HINFO", "Host information" );
- public static final RecordType MINFO = new RecordType( 14, "MINFO", "Mailbox information" );
- public static final RecordType MX = new RecordType( 15, "MX", "Mail routing information" );
+ public static final RecordType MINFO = new RecordType( 14, "MINFO", "Mailbox or mail list information" );
+ public static final RecordType MX = new RecordType( 15, "MX", "Mail exchange" );
public static final RecordType TXT = new RecordType( 16, "TXT", "Text strings" );
public static final RecordType RP = new RecordType( 17, "RP", "Responsible person" );
public static final RecordType AFSDB = new RecordType( 18, "AFSDB", "AFS cell database" );
@@ -76,10 +76,10 @@
public static final RecordType TKEY = new RecordType( 249, "TKEY", "Transaction key - used to compute a shared secret or exchange a key" );
public static final RecordType TSIG = new RecordType( 250, "TSIG", "Transaction signature" );
public static final RecordType IXFR = new RecordType( 251, "IXFR", "Incremental zone transfer" );
- public static final RecordType AXFR = new RecordType( 252, "AXFR", "Zone transfer" );
- public static final RecordType MAILB = new RecordType( 253, "MAILB", "Transfer mailbox records" );
- public static final RecordType MAILA = new RecordType( 254, "MAILA", "Transfer mail agent records" );
- public static final RecordType ANY = new RecordType( 255, "ANY", "Matches any type" );
+ public static final RecordType AXFR = new RecordType( 252, "AXFR", "Request for transfer of an entire zone" );
+ public static final RecordType MAILB = new RecordType( 253, "MAILB", "Request for mailbox-related records" );
+ public static final RecordType MAILA = new RecordType( 254, "MAILA", "Request for mail agent resource records" );
+ public static final RecordType ANY = new RecordType( 255, "ANY", "Request for all records" );
public String toString()
{