From: Brian W. <bwe...@xb...> - 2002-03-19 18:10:52
|
On Tue, 19 Mar 2002, Blake Ramsdell wrote: > I realize that this problem is complicated by the fact that the records are > coming back from my local DNS, but can someone try to do an MX lookup on > edelweb.fr and see if you survive? > > I'm basically doing (sorry in advance for wrapping issues): > > Message message = Message.newQuery(Record.newRecord(new Name("edelweb.fr"), > Type.MX, DClass.IN)); > SimpleResolver resolver = new SimpleResolver(); > > this.log.debug("Sending request."); > message = resolver.send(message); > this.log.debug("Back from send."); > > And it throws an exception in send (I never see "Back from send.") I dug > into it a bit, and it looks like there is an A record in the additional > records section that the name is failing to parse out of. Works for me. Could you try setting -Ddnsjava.options=verbosemsg on the command line and send the contents of the received message? Brian |