From: Jihane <jbe...@ho...> - 2010-03-29 07:55:55
|
Hello Brian, Thank you for taking time to respond to my email. Yes it works for AAAA record. But, it doesn't work for the new type. I have implemented a class ( new type) which extends Record class and added the initialization to the type class as you said. when i have run jnamed class i got the following error: org.xbill.DNS.Tokenizer$TokenizerException: movie.db:3: invalid unknown RR encoding Have you any idea to solve this problem? Thank you for your helping, cheers, Jihane Brian Wellington wrote: > > > 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 > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > dnsjava-users mailing list > dns...@li... > https://lists.sourceforge.net/lists/listinfo/dnsjava-users > > -- View this message in context: http://old.nabble.com/Developping-a-new-record-type-in-dnsjava-tp28040758p28065987.html Sent from the dnsjava-users mailing list archive at Nabble.com. |