Linux

Where Is the Blocky Config File on Linux?

Blocky reads config.yml from /etc/blocky by default, with custom lists beside it.

Last updated

Blocky centers on config.yml under /etc/blocky holding upstreams, blocklists, custom DNS, and caching rules. Docker runs mount the same file from a host folder. One file runs the whole resolver.

Back up the yaml before list experiments. Validate with config test flags where available and restart the service. Query logs go wherever the file points them.

Where Blocky stores this, by platform

Linux
/etc/blocky/config.yml

Upstreams plus lists and custom records. Root owned. Docker setups bind the same file from host storage.

Frequently asked questions

How do I add blocklists in Blocky?

Add list URLs in config.yml sources and restart. Watch startup logs for failed downloads. Keep a known good copy before edits.

Where are Blocky query logs?

At the log paths set in config.yml. Create those directories first with service write access or logging stays silent.

Notice an outdated path? Let us know.