-
When the ExtendedNonblockingResolver timeout is set to small amount and LookupAsynch is used as the resolver it happens to hit an NPE in the ProcessingTask runnable.
Basically, like the ExtendedNonblockingResolver manage this scenario with a System.err.println("DNSJNIO ExtendedNonblockingResolver ERROR - ProcessResponse ignoring good response due to no known request"); we have to do something...
2007-12-06 15:47:20 UTC in dnsjnio
-
I guess you compiled dnsjava with java 5/6 by mistake :-(
Class version for dnsjava 2.0.3 is 2E while class version for dnsjava 2.0.4 is 32.
2007-08-28 10:05:18 UTC in dnsjava
-
I just tested this in jSPF and it works as expected.
Thank you, I look forward to downloading 2.0.4 ;-)
2007-06-23 11:21:43 UTC in dnsjava
-
Ok, my last reply has been writte before you wrote your last reply.
I was writing it and you've been faster!
Thank you, I will see if I can convince the SPF guys to change the test suite.
2007-06-12 15:48:55 UTC in dnsjava
-
Sorry I don't know DNS specification too much:
is this what you are referring to? http://www.dns.net/dnsrd/rfc/rfc2181.html#5.%20Resource%20Record%20Sets.
2007-06-12 15:37:02 UTC in dnsjava
-
Can you point me where in the rfc is specified that multiple equal records CAN be consolidated?
At least I can try to convince the SPF guys to remove such tests from the compatibility test suite...
2007-06-12 15:31:28 UTC in dnsjava
-
Currently a custom resolver wanting to make use of TSIG verification must be placed in the org.xbill.DNS package because this fields have default visibility. What about publishing accessors or making them public ?
----
int tsigstart;
int tsigState;
/* The message was not signed */
static final int TSIG_UNSIGNED = 0;
/* The message was signed and verification succeeded */
static...
2007-06-09 20:06:50 UTC in dnsjava
-
LookupAsynch lookup = new LookupAsynch(Name, Type, DClass);
lookup.runAsynch(new Runnable() {
public void run() {
System.out.println("DONE!");
}
});
LookupAsynch lookup = new LookupAsynch(Name, Type, DClass);
lookup.runAsynch(new Runnable() {
LookupAsynch lookup;
public void run() {
if (lookup.getResult() == LookupAsynch.TRY_AGAIN) {
System.out.println("TIMEOUT!");
} else {...
2007-05-07 00:17:02 UTC in dnsjnio
-
I'm using dnsjava to create a server and I'm not able to add multiple TXT or SPF records with the same content because dnsjava does check for "contains" and the equals for the records will return true if they have the same text value.
I think this is a big because AFAIK dns specification should let me to publish a couple of TXT records with identical content and they have to be read as 2...
2007-04-29 15:56:49 UTC in dnsjava
-
I had to change the class as follows because the SPFRecord was not saving the correct type but inheriting the wrong TXT type.
As a workaround I added this.type = Type.SPF just before returning the constructors, but maybe it is better to add protected constructors in TXTBase and then pass the type as a constructor argument.
---
public class SPFRecord extends TXTBase {
SPFRecord() {}...
2007-04-29 14:48:00 UTC in dnsjava