DNS-Over-TLS Built-In & Enforced - 126.96.36.199 and the GL.iNet GL-AR750S
Earlier this month, we sent out a prototype of Slate to Mr. Junade Ali, the Lead Support Operations Engineer at Cloudflare, to test out the “DNS-Over-TLS” feature and here‘s what he said about Slate:
*GL.iNet GL-AR750S in black, same form-factor as the prior white GL.iNet GL-AR750. Credit card for comparison.*
Back in April, I wrote about how it was possible to modify a router to encrypt DNS queries over TLS using Cloudflare’s 188.8.131.52 DNS Resolver. For this, I used the GL.iNet GL-AR750 because it was pre-installed with OpenWRT (LEDE). The folks at GL.iNet read that blog post and decided to bake DNS-Over-TLS support into their new router using the 184.108.40.206 resolver, they sent me one to take a look at before it’s available for pre-release. Their new router can also be configured to force DNS traffic to be encrypted before leaving your local network, which is particularly useful for any IoT or mobile device with hard-coded DNS settings that would ordinarily ignore your routers DNS settings and send DNS queries in plain-text.
In my previous blog post I discussed how DNS was often the weakest link in the chain when it came to browsing privacy; whilst HTTP traffic is increasingly encrypted, this is seldom the case for DNS traffic. This makes it relatively trivial for an intermediary to work out what site you’re sending traffic to. In that post, I went through the technical steps required to modify a router using OpenWRT to support DNS Privacy using the DNS-Over-TLS protocol.
GL.iNet were in contact since I wrote the original blog post and very supportive of encrypting DNS queries at the router level. Last week whilst working in Cloudflare’s San Francisco office, they reached out to me over Twitter to let me know they were soon to launch a new product with a new web UI containing a “DNS over TLS from Cloudflare” feature and offered to send me the new router before it was even available for pre-order.
On arrival back to our London office, I found a package from Hong Kong waiting for me. Aside from the difference in colour, the GL-AR750S itself is identical in form-factor to the GL-AR750 and was packaged up very similarly. They both have capacity for external storage, an OpenVPN client and can be powered over USB; amongst many other useful functionalities. Alongside the *S*suffixing the model number, I did notice the new model had some upgraded specs, but I won’t dwell on that here.
Below you can see the white GL-AR750 and the new black GL-AR750S router together for comparison. Both have a WAN ethernet port, 2 LAN ethernet ports, a USB port for external storage (plus a micro SD port) and a micro USB power port.
The UI is where the real changes come. In the More Settings tab, there’s an option to configure DNS with some nice options.
One notable option is the DNS over TLS from Cloudflare toggle. This option uses the TLS security protocol for encrypting DNS queries, helping increase privacy and prevent eavesdropping.
Another option, Override DNS Settings for All Clients, forcibly overrides the DNS configuration on all clients so that queries are encrypted to the WAN. Unencrypted DNS traffic is intercepted by the router, and by forcing traffic to use it’s own local resolver, it is able to transparently rewrite traffic to be encrypted before leaving the router and heading out into the public internet to the upstream resolver - 220.127.116.11.
This option is particularly useful when dealing with embedded systems or IoT devices which don’t have configurable DNS options; Smart TVs, TV boxes, your toaster, etc. As this router can proxy traffic over to other Wi-Fi networks (and is portable), this is particularly useful when connecting out to an ordinarily insecure Wi-Fi network; the router can sit in the middle and transparently upgrade unencrypted DNS queries. This is even useful when dealing with phones and tablets where you can’t install a DNS-Over-TLS client.
These options both come disabled by default, but can easily be toggled in the UI. As before, you can configure other DNS resolvers by toggling “Manual DNS Server Settings” and entering in any other DNS servers.
There are a number of other cool features I’ve noticed in this router; for example, the More Settings > Advanced option takes you into a standard LuCi UI that ordinarily comes bundled with LEDE routers. Like previous routers, you can easily SSH into the device and install various program and perform customisations.
For example; after installing TCPDump on the router, I am able to run
tcpdump -n -i wlan-sta 'port 853' to see encrypted DNS traffic leaving the router. When I run a DNS query over an unencrypted resolver (using
dig A junade.com on my local computer), I can see the outgoing DNS traffic upgraded to encrypted queries on 18.104.22.168 and 22.214.171.124.
If you’re interested in learning how to configure 126.96.36.199 on other routers, your computer or your phone - check out the project landing page at https://188.8.131.52/. If you’re a developer and want to learn about how you can integrate 184.108.40.206 into your project with either DNS-Over-TLS or DNS-Over-HTTPS, checkout the 220.127.116.11 Developer Documentation.
*Thank you Junade Ali for granting us the permission to share this article on our website. The article was originally published on Cloudflare website on July 14th, 2018: https://blog.cloudflare.com/dns-over-tls-built-in/
Check out the product page to learn more about Slate: https://www.gl-inet.com/products/gl-ar750s/
GL.iNet is a leading developer in designing, manufacturing and marketing of advanced wireless routers and Wi-Fi solutions for domestic and commercial use. We offer a great selection of Wi-Fi routers that feature cyber security, smart home automation, smart city, Internet of Things, Internet control, big data, mesh network and more. Powered by cutting-edge technology to offer our customers an unparalleled level of network security and optimized network control.