Google announced in its official blog
that its Public DNS (Domain Name System) service will support DNS-over-TLS security protocol, which means that the DNS queries and responses will be communicated over TLS-encrypted TCP connections.
Launched over eight years ago, Google Public DNS, at IP addresses 220.127.116.11 and 18.104.22.168, is world’s largest public Domain Name Service recursive resolver that most people prefer instead of using default DNS services from their ISPs or carriers.
Google is not the first one to offer DNS-over-TLS. Last year, Cloudflare, well-known Internet performance and security company, also launched its new “22.214.171.124” that it claims to be the world’s fastest and privacy-focused secure DNS service. It supports both DNS-over-TLS and DNS-over-HTTPS that ensure maximum privacy.
The DNS-over-TLS has been designed to make it harder for man-in-the-middle attackers to manipulate the DNS query or eavesdrop on your Internet connection.
Google wrote in a blog post that “Starting today, users can secure queries between their devices and Google Public DNS with DNS-over-TLS, preserving their privacy and integrity”.
“Now users can secure their connections to Google Public DNS with TLS, the same technology that protects their HTTPS web connections.”The search engine giant also says that it implemented the DNS-over-TLS specification along with the RFC 7766 recommendations to minimize the overhead of using TLS, which include support for:
- TLS 1.3 for improved security and faster connections
- TCP fast open
- Pipelining of multiple queries
- Out-of-order responses over a single connection to its public DNS server
You can use Google’s DNS-over-TLS in two ways, strict or opportunistic privacy.
In strict privacy mode, your device or system will create a secure TLS connection on port 853 to the DNS server, which if fails, the server will respond with an error.
However, in the opportunistic privacy mode, if the client cannot establish a secure connection on port 853, it falls back to communicating with the DNS server on the standard DNS port 53 over UDP or TCP without any security or privacy.
Google has made DNS-over-TLS available for Android 9 Pie users starting Wednesday. So, if you run Android 9 on your smartphone, you can switch to DNS-over-TLS today.
To do so, just head on to the networking section of your Android device’s Settings app, and enter “dns.google” as the Private DNS server. More detailed instructions on the DNS-over-TLS are available here.