From 447d8f17eb45aa66455996b1a3f03ef6229a05d2 Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Wed, 21 Feb 2024 13:05:13 +0300 Subject: [PATCH] Pull request 194: 6610-hostsfile-enabled Squashed commit of the following: commit 34871aeaf2c3dea43d0cdd7a6e45c0a30abb0f73 Author: Stanislav Chzhen Date: Mon Feb 19 16:12:53 2024 +0300 Configuration: hostsfile enabled --- Configuration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Configuration.md b/Configuration.md index 9b40545..0ed6f74 100644 --- a/Configuration.md +++ b/Configuration.md @@ -33,14 +33,14 @@ Options: -h, --host VALUE Deprecated. Host address to bind HTTP server on. Use --web-addr. The short -h will work as --help in the future. -p, --port VALUE Deprecated. Port to serve HTTP pages on. Use --web-addr. --web-addr VALUE Address to serve the web UI on, in the host:port format. - -s, --service VALUE Service control action: status, install, uninstall, start, stop, restart, reload (configuration). - -l, --logfile VALUE Path to log file. If empty: write to stdout; if 'syslog': write to system log. + -s, --service VALUE Service control action: status, install (as a service), uninstall (as a service), start, stop, restart, reload (configuration). + -l, --logfile VALUE Path to log file. If empty, write to stdout; if "syslog", write to system log. --pidfile VALUE Path to a file where PID is stored. --check-config Check configuration and exit. --no-check-update Don't check for updates. --update Update the current binary and restart the service in case it's installed. --no-mem-optimization Deprecated. Disable memory optimization. - --no-etc-hosts Deprecated: use clients.runtime_sources.hosts instead. Do not use the OS-provided hosts. + --no-etc-hosts Deprecated: use clients.runtime_sources.hosts and dns.hostsfile_enabled instead. Do not use the OS-provided hosts. --local-frontend Use local frontend directories. -v, --verbose Enable verbose output. --glinet Run in GL-Inet compatibility mode. @@ -649,6 +649,8 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib **NOTE:** `serve_plain_dns` cannot currently be set to `false` unless one or more encrypted protocols (DNS-over-HTTPS, DNS-over-TLS, etc.) is enabled. + - `hostsfile_enabled` (**since v0.107.45**): Allows information from the + system hosts file to be used to resolve queries. - `filtering` (**since v0.107.37**): Filtering settings section: - `protection_enabled`: Whether any kind of filtering and protection should be performed. Note that it doesn't affect the rules with `$dnsrewrite`