Skip to content

Commit c6d95fa

Browse files
committed
Add note on FTLCONF_misc_dnsmasq_lines
Signed-off-by: yubiuser <[email protected]>
1 parent 0c91725 commit c6d95fa

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/docker/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Given the below `toml` formatted example from `pihole.toml`, we can translate th
3333
dnssec = true
3434
```
3535

36+
Array type configs should be delimited with `;`
37+
3638
!!! note
3739
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
3840

docs/docker/upgrading/v5-v6.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,17 @@ You would now set:
5858
FTLCONF_dns_revServers: 'true,192.168.0.0/24,192.168.0.1#53,lan'
5959
```
6060

61+
### Custom dnsmasq config files
62+
63+
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
64+
65+
1) Mount the local folder containing the config files into `/etc/dnsmasq.d` into the container
66+
2) Set the environment variable `FTLCONF_misc_etc_dnsmasq_d: 'true'`
67+
68+
69+
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 `;`
70+
71+
6172
### Removed Variables
6273

6374
The following variables can be removed without replacement, as they are no longer used:

0 commit comments

Comments
 (0)