Config file management

Hi,
Well done releasing v6 - and good luck with the support :sweat_smile:!

A not urgent question: with the migration to v6 I understand all settings are now into /etc/pihole/pihole.toml.

In v5 I was customising some files (and versioning them), for instance:

/etc/pihole/custom.list
/etc/dnsmasq.d/05-pihole-custom-cname.conf

Does it mean that I now just have to version the main file and can disregard the other ones?

Thanks and best regards,
GT

This seems to be the new correct way : How to keep separate custom DNS records on V6 - via Ansible - #2 by Bucking_Horn :slight_smile:

/EDIT :

OK... maybe not...

See below =>

In general, you should edit /etc/pihole/pihole.toml.

The post linked above is for a very specific case where an existing automated ansible script creates a custom.list containing enriched contents along with comments that wouldn't carry over easily otherwise.
The solution I proposed allows to continue using that file as produced right now, without needing to adjust the existing ansible workflow.

If your use case isn't that, then stick with editing pihole.toml.

Pretty much yes, as pihole.toml combines various settings previously strewn over different config files in v5 (like setupVars.conf, pihole-FTL.conf and /etc/dnsmasq.d/*).

OK thanks will do that then!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.