Issue Details (XML | Word | Printable)

Key: DIRSERVER-134
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Enrique Rodriguez
Reporter: Enrique Rodriguez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Add support for service location Resource Records (DNS SRV) (RFC 2782)

Created: 13/Jul/05 09:34 PM   Updated: 07/Feb/06 02:26 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 29/Sep/05 07:14 AM


 Description  « Hide
A DNS RR for specifying the location of services (DNS SRV)
http://www.faqs.org/rfcs/rfc2782.html


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Enrique Rodriguez made changes - 27/Sep/05 04:30 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Enrique Rodriguez added a comment - 27/Sep/05 04:43 PM
SOA, NS, and A records work alongside SRV records to provide service resolution used during KDC discovery and other domain controller operations. By adding SRV support, we can begin to use ApacheDS as a realm controller.

Adding a resource record (RR) to Apache DNS involves the following steps:
1) Add a new objectClass and possibly attributeType support to the apachedns.schema for the new RR type.
2) Write an Encoder that knows how to convert from the RR attributes to the binary resource data payload in the DNS reply.
3) Add the RR type-to-Encoder mapping to the DnsEncoder's hashed adapter.
4) Add example SRV record(s) into the LDIF that ships with the DNS protocol provider.

Enrique Rodriguez made changes - 27/Sep/05 04:43 PM
Affects Version/s 0.3 [ 12310319 ]
Fix Version/s 0.3 [ 12310319 ]
Repository Revision Date User Message
ASF #292329 Wed Sep 28 22:04:40 UTC 2005 erodriguez Addition to apachedns.schema to support DIRDNS-4 (Add support for service location SRV records)
o Added new objectClass for the SRV record type.
o Added 3 new attributeTypes for SRV priority, weight, and port.

http://issues.apache.org/jira/browse/DIRDNS-4
Files Changed
MODIFY /directory/apacheds/trunk/core/src/main/schema/apachedns.schema

Repository Revision Date User Message
ASF #292331 Wed Sep 28 22:08:51 UTC 2005 erodriguez Updates to DNS protocol-provider to support DIRDNS-4 (Add support for service location SRV records)
o Added constants for the SRV attributeTypes.
o Implemented the SRV encoder.
o Added the SRV type-to-encoder mapping.

http://issues.apache.org/jira/browse/DIRDNS-4
Files Changed
MODIFY /directory/protocol-providers/dns/trunk/src/java/org/apache/dns/protocol/DnsEncoder.java
MODIFY /directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/DnsAttribute.java
MODIFY /directory/protocol-providers/dns/trunk/src/java/org/apache/dns/io/encoder/ServerSelectionRecordEncoder.java

Enrique Rodriguez added a comment - 29/Sep/05 07:14 AM
Support for serving SRV records has been added.
o In addition to the above steps I also added the attributeTypes to the DnsAttribute constants.

Committed to apacheds-core (apachedns.schema) on revision 292329.
Committed to dns-protocol on revision 292331.

http://svn.apache.org/viewcvs.cgi?view=rev&rev=292329
http://svn.apache.org/viewcvs.cgi?view=rev&rev=292331

Enrique Rodriguez made changes - 29/Sep/05 07:14 AM
Status In Progress [ 3 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Alex Karasulu made changes - 07/Feb/06 02:26 PM
Project Directory DNS [ 12310064 ] ApacheDS [ 12310260 ]
Affects Version/s 0.3 [ 12310319 ]
Key DIRDNS-4 DIRSERVER-134
Fix Version/s 0.3 [ 12310319 ]