From: Brian W. <bwe...@xb...> - 2010-03-26 21:26:15
|
On Mar 26, 2010, at 3:52 AM, Jihane wrote: > I'm a student in an engineering school. As a part of my training, I need to > develop a new resource record type in dnsjava. Firstly, i have created a > class which defines this new type. This latter is extends Record class. > After that, I have run the jnaned server on my computer and registered a > name and its corresponding information of this new type. Unfortunately, when > I did a lookup for this type or the AAAA record type, I didn't get an answer > even if these RRs exist in .db. > > PS: I added in class Type this new type. > > Have you an explanation for this problem? > > If the server does not recorgnize this new type.In which class i need to add > information about this new type (jnamed for instance)? because it doesn't > work also for AAAA Record type. All that should be needed to add a new type is to implement a class which extends Record and add the appropriate initialization to the Type class. If AAAA records also aren't working, then you're likely doing something else wrong, but I have no idea what it is. Brian |