+1 to add the fix. On Wednesday 21 April 2004 06:29, Noel J. Bergman wrote: > Folks, > > If you have been following the discussion on server-user@, you will have > noticed a lengthy discussion between Marc De Oliviera and myself that > resulted in a one line (two, if you count the avoidable import :-)) change > to DNSServer.java. > > +import org.xbill.DNS.Lookup; > @@ -148,6 +149,7 @@ > try { > resolver = new ExtendedResolver( serversArray ); > + Lookup.setDefaultResolver(resolver); > } catch (UnknownHostException uhe) { > > The change sets the default resolver for dnsjava. Without it, dnsjava > makes a best guess regarding how to resolve DNS information, and ignores > the configured servers when using the high level API, e.g., > Address.get[All]ByName(). With it, we force dnsjava to always use the > servers configured for James. > > Considering that Marc could not use RC1 because of this issue, I'd like to > see 2.2.0 ship with this fix. I'm sure that his is not the only system for > which dnsjava won't be able to autodetect the DNS servers. > > --- Noel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
-- Søren Hilmer, M.Sc. R&D manager Phone: +45 70 27 64 00 TietoEnator IT+ A/S Fax: +45 70 27 64 40 Ved Lunden 12 Direct: +45 87 46 64 57 DK-8230 Åbyhøj Email: soren.hilmer <at> tietoenator.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]