Resolver Leak.lua Extra Quality
This tutorial will be showing you how to set up your own DNS over HTTPS (DoH) resolver on Ubuntu with DNSdist, so your DNS queries can be encrypted and protected from prying eyes.
Resolver Leak.lua
Actually, I prefer to run DoH resolver with DNSdist, which added DoH support in version 1.4.0. The current latest version is 1.7. It has an official repository for Debian, Raspbian, Ubuntu, and CentOS. DNSdist is a DNS load balancer that can forward DNS queries to a backend DNS resolver, so no matter what DNS resolver you are using, you can use DNSdist to run your own DoH server. DNSdist is developed by the PowerDNS team.
If you connect to a VPN like ProtonVPN. Your iOS will use the DNS resolver provided by the VPN server. You can go to dnsleaktest.com to check which DNS resolver you are using. If you ever want to remove the .mobileconfig file from iOS, go to Settings -> General -> Profile.
I hope this tutorial helped you set up a DNS over HTTPS resolver with Nginx on Ubuntu. As always, if you found this post useful, then subscribe to our free newsletter to get more tips and tricks. Take care ?
Handle numeric hosts differently so thatsocket.listen doesn't try to build aresolver. On OS X when the network is notconnected /etc/resolv.conf doesn't exist, sobuilding a resolver results in an ENOENTerror. This prevented listening on theloopback, 0.0.0.0, or ::1 when the networkwas disconnected. 041b061a72