mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Restart FTL to enforce flushing the cache when dns.piholePTR is changed
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+2
-1
@@ -442,7 +442,7 @@ static void initConfig(struct config *conf)
|
||||
conf->dns.analyzeOnlyAandAAAA.c = validate_stub; // Only type-based checking
|
||||
|
||||
conf->dns.piholePTR.k = "dns.piholePTR";
|
||||
conf->dns.piholePTR.h = "Controls whether and how FTL will reply with for address for which a local interface exists.";
|
||||
conf->dns.piholePTR.h = "Controls whether and how FTL will reply with for address for which a local interface exists. Changing this setting causes FTL to restart.";
|
||||
{
|
||||
struct enum_options piholePTR[] =
|
||||
{
|
||||
@@ -455,6 +455,7 @@ static void initConfig(struct config *conf)
|
||||
}
|
||||
conf->dns.piholePTR.t = CONF_ENUM_PTR_TYPE;
|
||||
conf->dns.piholePTR.d.ptr_type = PTR_PIHOLE;
|
||||
conf->dns.piholePTR.f = FLAG_RESTART_FTL;
|
||||
conf->dns.piholePTR.c = validate_stub; // Only type-based checking
|
||||
|
||||
conf->dns.replyWhenBusy.k = "dns.replyWhenBusy";
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@
|
||||
analyzeOnlyAandAAAA = false
|
||||
|
||||
# Controls whether and how FTL will reply with for address for which a local interface
|
||||
# exists.
|
||||
# exists. Changing this setting causes FTL to restart.
|
||||
#
|
||||
# Possible values are:
|
||||
# - "NONE"
|
||||
|
||||
Reference in New Issue
Block a user