|
From: Deven P. <dev...@gm...> - 2012-01-04 16:40:19
|
Hello,
I am attempting to use dnsjava to perform a zone transfer from
UltraDNS. I have verified that the zone transfers are allowed and
working from Ultra by using:
dig @<Ultra IP> mydomain.com. AXFR
I get good results from the dig command, but when I try to use the
dnsjava library, I get the following:
java.io.EOFException
at org.xbill.DNS.TCPClient._recv(Unknown Source)
at org.xbill.DNS.TCPClient.recv(Unknown Source)
at org.xbill.DNS.ZoneTransferIn.doxfr(Unknown Source)
at org.xbill.DNS.ZoneTransferIn.doxfr(Unknown Source)
at org.xbill.DNS.ZoneTransferIn.run(Unknown Source)
at com.zanclus.dns.InboundWorker.run(InboundWorker.java:432)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
As best I can tell, the zone transfer connection is getting closed from
Ultra's side before the byte count has been fulfilled. The data is
complete, but I cannot access it because the Exception does not allow it
to be stored and returned in the ZoneTransferIn object. Any suggestions
on how to work around Ultra's broken protocol?
Thanks,
Deven
|