Merge pull request #2597 from pi-hole/fix/interface_comment

Fix `dns.interface` comment
This commit is contained in:
Dominik
2025-08-12 21:35:14 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -521,7 +521,7 @@ void initConfig(struct config *conf)
conf->dns.dnssec.d.b = false;
conf->dns.interface.k = "dns.interface";
conf->dns.interface.h = "Interface to use for DNS (see also dnsmasq.listening.mode) and DHCP (if enabled). Leave empty for auto-detection.";
conf->dns.interface.h = "Interface to use for DNS (see also dns.listeningMode) and DHCP (if enabled). Leave empty for auto-detection.";
conf->dns.interface.a = cJSON_CreateStringReference("a valid interface name");
conf->dns.interface.t = CONF_STRING;
conf->dns.interface.f = FLAG_RESTART_FTL;

View File

@@ -184,8 +184,8 @@
# true or false
dnssec = true ### CHANGED, default = false
# Interface to use for DNS (see also dnsmasq.listening.mode) and DHCP (if enabled).
# Leave empty for auto-detection.
# Interface to use for DNS (see also dns.listeningMode) and DHCP (if enabled). Leave
# empty for auto-detection.
#
# Allowed values are:
# a valid interface name