MiniDNS / minidns

DNS library for Android and Java SE
Other
226 stars 61 forks source link

Logging what dns servers are used? #131

Closed singpolyma closed 3 weeks ago

singpolyma commented 1 year ago

I would love to be able to log what DNS server is being used for a given query (especially to debug DNSSEC failures, etc) and I wonder if there is a good way to do this from the hla package. I can't find a way to get at the underlying DnsClient used by the ReliableDnsClient which seems to be where the list of servers lives.

singpolyma commented 3 weeks ago

fixed with java.util.logging.Logger.getLogger("").setLevel(java.util.logging.Level.FINEST); in my app