pihole command line update, pihole -up work well but dnsmasq.d directory conf-file, 01-pihole.conf overwrite original setting.
so, logfile-facility setting define original.
and other log-facility(ex:02-pihole.conf) setting conf file occurs ERROR, not work DNS.
any way to avoid this file over-write?
This is by design, and is noted at the top of the file:
###############################################################################
# FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
# #
# IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN: #
# /etc/pihole/setupVars.conf #
# #
# ANY OTHER CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE #
# WITHIN /etc/dnsmasq.d/yourname.conf #
###############################################################################
As also noted in the top of the file, anything you want to add should be in a separate config file under /etc/dnsmasq.d/whateverfilenameyouwant.conf
1 Like
system
Closed
March 18, 2020, 3:15pm
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.