How To Install dnscrypt-proxy on Fedora 36

In this tutorial we learn how to install dnscrypt-proxy in Fedora 36. dnscrypt-proxy is Flexible DNS proxy, with support for encrypted DNS protocols

Introduction

In this tutorial we learn how to install dnscrypt-proxy on Fedora 36.

What is dnscrypt-proxy

A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2. Features - DNS traffic encryption and authentication. Supports DNS-over-HTTPS (DoH) and DNSCrypt. - DNSSEC compatible - DNS query monitoring, with separate log files for regular and suspicious queries - Pattern-based local blocking of DNS names and IP addresses - Time-based filtering, with a flexible weekly schedule - Transparent redirection of specific domains to specific resolvers - DNS caching, to reduce latency and improve privacy - Local IPv6 blocking to reduce latency on IPv4-only networks - Load balancing measure and keep track of their speed, and balance the traffic across the fastest available ones. - Cloaking addresses for specific names, or resolve and return the IP address of other names. This can be used for local development as well as to enforce safe search results on Google, Yahoo and Bing. - Automatic background updates of resolvers lists - Can force outgoing connections to use TCP; useful with tunnels such as Tor.

We can use yum or dnf to install dnscrypt-proxy on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dnscrypt-proxy.

Install dnscrypt-proxy on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dnscrypt-proxy using dnf by running the following command:

sudo dnf -y install dnscrypt-proxy

Install dnscrypt-proxy on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dnscrypt-proxy using yum by running the following command:

sudo yum -y install dnscrypt-proxy

How To Uninstall dnscrypt-proxy on Fedora 36

To uninstall only the dnscrypt-proxy package we can use the following command:

sudo dnf remove dnscrypt-proxy

dnscrypt-proxy Package Contents on Fedora 36

/etc/dnscrypt-proxy
/etc/dnscrypt-proxy/allowed-ips.txt
/etc/dnscrypt-proxy/allowed-names.txt
/etc/dnscrypt-proxy/blacklist.txt
/etc/dnscrypt-proxy/blocked-ips.txt
/etc/dnscrypt-proxy/blocked-names.txt
/etc/dnscrypt-proxy/captive-portals.txt
/etc/dnscrypt-proxy/cloaking-rules.txt
/etc/dnscrypt-proxy/dnscrypt-proxy.toml
/etc/dnscrypt-proxy/forwarding-rules.txt
/etc/dnscrypt-proxy/whitelist.txt
/etc/systemd/system/dnscrypt-proxy.service
/usr/bin/dnscrypt-proxy
/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/3e4a696cb235eb8b373ebe4c5743b8e2277fed
/usr/share/doc/dnscrypt-proxy
/usr/share/doc/dnscrypt-proxy/ChangeLog
/usr/share/doc/dnscrypt-proxy/README.md
/usr/share/doc/dnscrypt-proxy/generate-domains-blocklist
/usr/share/doc/dnscrypt-proxy/generate-domains-blocklist/domains-allowlist.txt
/usr/share/doc/dnscrypt-proxy/generate-domains-blocklist/domains-blocklist-local-additions.txt
/usr/share/doc/dnscrypt-proxy/generate-domains-blocklist/domains-blocklist.conf
/usr/share/doc/dnscrypt-proxy/generate-domains-blocklist/domains-time-restricted.txt
/usr/share/doc/dnscrypt-proxy/generate-domains-blocklist/generate-domains-blocklist.py
/usr/share/licenses/dnscrypt-proxy
/usr/share/licenses/dnscrypt-proxy/LICENSE

References

Summary

In this tutorial we learn how to install dnscrypt-proxy on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).