From: Pradeep P. <pra...@gm...> - 2025-03-28 13:06:09
|
Hi, I am not sure if this is the right mailing list to ask about DNSJava library but sending it assuming this is the right one How are DNS query retries controlled using Simple Resolver in DNSJava? Using the SimpleResolver, we see retries of 2 in some machines whereas it is 3 in others. It is not clear as to how it is retried. Any help in this regard would be appreciated? * SimpleResolver resolver = (dns == null) ? new SimpleResolver() : new SimpleResolver(dns) ; resolver.setTimeout(Duration.ofMillis(dnsTimeoutMs)); lookup.setResolver(resolver) ; lookup.setCache(null); org.xbill.DNS.Record[] records = lookup.run() ;* Regards, Pradeep P |