mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
--- a/src/resolve.c
|
|
+++ b/src/resolve.c
|
|
@@ -621,7 +621,7 @@ static int resolve_init(void)
|
|
method_name = l_settings_get_value(iwd_get_config(), "Network",
|
|
"NameResolvingService");
|
|
if (!method_name)
|
|
- method_name = "resolvconf";
|
|
+ method_name = "none";
|
|
|
|
for (i = 0; resolve_method_ops_list[i].name; i++) {
|
|
if (strcmp(resolve_method_ops_list[i].name, method_name))
|
|
--- a/src/iwd.config.rst
|
|
+++ b/src/iwd.config.rst
|
|
@@ -226,7 +226,7 @@ The group ``[Network]`` contains network
|
|
by default. This setting can also be overridden on a per-network basis.
|
|
|
|
* - NameResolvingService
|
|
- - Values: resolvconf, **systemd**, none
|
|
+ - Values: resolvconf, systemd, **none**
|
|
|
|
Configures a DNS resolution method used by the system.
|
|
|
|
@@ -234,10 +234,11 @@ The group ``[Network]`` contains network
|
|
``EnableNetworkConfiguration`` and provides the choice of system
|
|
resolver integration.
|
|
|
|
- If not specified, ``systemd`` is used as default.
|
|
+ If not specified, ``none`` is used as default and DNS and domain name
|
|
+ information is ignored.
|
|
|
|
- If ``none`` is specified, then DNS and domain name information is
|
|
- ignored.
|
|
+ In Alpine Linux, ``resolvconf`` requires the openresolv aport to be
|
|
+ installed.
|
|
|
|
* - RoutePriorityOffset
|
|
- Values: uint32 value (default: **300**)
|