Add note on FTLCONF_misc_dnsmasq_lines

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2025-02-20 16:30:45 +01:00
parent 0c91725956
commit c6d95fa61d
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -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
+11
View File
@@ -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: