network: dhcp4: enable RoutesToDNS= by default

This commit is contained in:
Yu Watanabe 2021-04-21 02:04:32 +09:00
parent 2b4d791e41
commit 7057030610
2 changed files with 2 additions and 1 deletions

View file

@ -1631,7 +1631,7 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<listitem>
<para>When true, the routes to the DNS servers received from the DHCP server will be
configured. When <varname>UseDNS=</varname> is disabled, this setting is ignored.
Defaults to false.</para>
Defaults to true.</para>
</listitem>
</varlistentry>
<varlistentry>

View file

@ -306,6 +306,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi
.dhcp_use_ntp = true,
.dhcp_use_sip = true,
.dhcp_use_dns = true,
.dhcp_routes_to_dns = true,
.dhcp_use_hostname = true,
.dhcp_use_routes = true,
.dhcp_use_gateway = -1,