From c6d95fa61d83519f9c7305475a68aca2afdb5f37 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Thu, 20 Feb 2025 16:30:45 +0100 Subject: [PATCH] Add note on FTLCONF_misc_dnsmasq_lines Signed-off-by: yubiuser --- docs/docker/configuration.md | 2 ++ docs/docker/upgrading/v5-v6.md | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/docs/docker/configuration.md b/docs/docker/configuration.md index e4e03412..96e51bb6 100644 --- a/docs/docker/configuration.md +++ b/docs/docker/configuration.md @@ -33,6 +33,8 @@ Given the below `toml` formatted example from `pihole.toml`, we can translate th dnssec = true ``` +Array type configs should be delimited with `;` + !!! note All FTL settings that are set via environment variables effectively become read-only, meaning that you will not be able to change them via the web interface or CLI. This is to ensure a "single source of truth" on the config. If you later unset or remove an environment variable, then FTL will revert to the default value for that setting diff --git a/docs/docker/upgrading/v5-v6.md b/docs/docker/upgrading/v5-v6.md index d74c46c4..2a7d1ee3 100644 --- a/docs/docker/upgrading/v5-v6.md +++ b/docs/docker/upgrading/v5-v6.md @@ -58,6 +58,17 @@ You would now set: FTLCONF_dns_revServers: 'true,192.168.0.0/24,192.168.0.1#53,lan' ``` +### Custom dnsmasq config files + +Pi-hole v6 does not use `/etc/dnsmasq.d/` for it's config files anymore. If custom config files should used by Pi-hole you need + +1) Mount the local folder containing the config files into `/etc/dnsmasq.d` into the container +2) Set the environment variable `FTLCONF_misc_etc_dnsmasq_d: 'true'` + + +If you only want to add a single/few `dnsmasq` config lines you can use the variable `FTLCONF_misc_dnsmasq_lines`. Each line should be separated with `;` + + ### Removed Variables The following variables can be removed without replacement, as they are no longer used: