Setup Private Dns With Open Nic Servers
By : Pirate PraveenPublished on: August 3, 2020 | Reading Time: 2 min
private-dns dns open-nic article
Recently many ISPs blocked DuckDuckGo.com at DNS level making the privacy focused search engine unavailable for many Internet users in India. DNS or Domain Name Service is like an address book for the internet used by all internet connected apps like your Web Browser or Instant Messaging app. A name server (a server running a DNS service) returns the Internet Protocol (IP) address for any registered domain names to any application requesting it. For example, duckduckgo.com has address 18.104.22.168.
So when your ISP’s name server blocks a domain like DuckDuckGo.com, your apps will not get the correct IP address when they request for it. To work around for this, we can change the name server from ISP provided value to another independent name server that does not censor any domains. On Desktop/Laptop or on your routers, this is easy to change, you just have to give IP address of the name server in network settings. But on Android this is not straightforward, you may need root access and install specialized apps for this.
But from Android version 9, there is an option to setup Private DNS which support DNS over TLS (DoT). There are many tutorials on the internet to set this up using popular DNS services like Google DNS, Cloudflare DNS, Quad9 etc. But this article focus on using DNS service provided by Open NIC project.
Open NIC project has many name servers run by volunteers from across the glob.
Two name servers that support Private DNS/DoT are: ns1-dot.iriseden.fr, ns2-dot.iriseden.fr. You can use dns.bebasid.com for DNS Over TLS (we have tested it to be working in Android). You can find more servers with DoT support at OpenNIC Public Servers list (though not all servers listed there with DoT support may not work with Android Private DNS. If you find any more servers that work with Android Private DNS option, let us know and we can update this page).
You can also see a list of DNS services with DoT support listed here
Setting up Private DNS in Android
- Choose “Network & Internet” from Settings.
- Choose “Advanced”, then " Private DNS"
- Select “Private DNS server hostname” and enter “ns1-dot.iriseden.fr” or another Service with DoT support and click “Save”.
- Now you should see the hostname you entered below Private DNS.