Linux

Where Is the dnscrypt-proxy Config File on Linux?

dnscrypt-proxy reads dnscrypt-proxy.toml in /etc/dnscrypt-proxy on Linux installs.

Last updated

dnscrypt-proxy configures through dnscrypt-proxy.toml under /etc/dnscrypt-proxy on packaged installs: listen addresses, server lists, filters, and query logging. Example file documents every knob with comments.

Back up the toml before relay experiments. Validate syntax by running the binary with config check flags. Blocklists and logs sit at paths set inside the same file.

Where dnscrypt-proxy stores this, by platform

Linux
/etc/dnscrypt-proxy/dnscrypt-proxy.toml

Servers, filters, and logging in one file. Root owned. Restart the service after edits and confirm the listen port answers.

Frequently asked questions

How do I change dnscrypt-proxy servers?

Edit the server_names list in the toml and restart. Test resolution with dig pointed at localhost afterwards.

Where are dnscrypt-proxy logs and blocklists?

At the file paths set inside the toml itself. Keep those directories writable by the service user or logging silently stops.

Notice an outdated path? Let us know.