This tool constantly checks your systemd-resolved. It always forces DNS-over-TLS. However, if DNS-over-TLS access is blocked on your network, it starts using the DNSCrypt protocol. But if that also fails, it fallsbacks to your local DNS.
You can install it as follows.
curl -fsSL https://raw.github.com/keift/dnsd/refs/heads/main/install.sh | sudo bash -s -- --updatesYou can uninstall it as follows.
curl -fsSL https://raw.github.com/keift/dnsd/refs/heads/main/uninstall.sh | sudo bashInstallation settings can be changed in the following ways.
Parameter Default Description --updatesfalseThis parameter indicates that it needs to update itself continuously. Example:
curl -fsSL https://raw.github.com/keift/dnsd/refs/heads/main/install.sh | sudo bash -s -- --updates