pisoj / og-nettools

A modern network toolbox built to feel like original android apps without jank.
Apache License 2.0
18 stars 1 forks source link

Real DNS implementation #5

Open pisoj opened 4 months ago

pisoj commented 4 months ago

The app currently uses dns.google http API to retrieve DNS records. This is not ideal since it's limited to google's results and doesn't use the real DNS protocol so people cannot test there own servers, firewalls, etc.

I know android implements DNS Resolver class, but its compatibility is bad, it only supports android 10 and above. There are also libraries, but you know what the goal of this project is. This leaves us with either a custom dns implementation or using a command line binary like nslookup or dig if they are even included in the android system.

bugith commented 4 months ago

Then maybe let's choose in settings either the http api or nslookup/dig (or busybox ?). I'd like to use the open dns servers of a French non-profit ISP.