dns-java icon indicating copy to clipboard operation
dns-java copied to clipboard

Remove cachingLookups while initialising DnsSrvResolvers in BasicUsage class

Open UdayHE opened this issue 2 years ago • 0 comments

When I tried to run BasicUsage class, it is throwing the exception"Session not supported with caching lookup" as expected. So if we don't call the deprecated method cachingLookups in BasicUsage class while initialising DnsSrvResolvers, will solve this problem and helps to understand and debug the BasicUsage class. It helps who-ever cloning this repository and try to understand how this library works.

Example: image

UdayHE avatar Jul 02 '23 06:07 UdayHE