The app currently uses dns.googlehttp 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.
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.
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 likenslookup
ordig
if they are even included in the android system.