mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-02 17:50:30 +01:00
dns: set first Domains/DefaultRoute in systemd-resolved before DNS
(cherry picked from commit95017dccdd) (cherry picked from commitab0dcafb6e)
This commit is contained in:
parent
e4899911e9
commit
38bf76032f
1 changed files with 3 additions and 3 deletions
|
|
@ -269,9 +269,6 @@ prepare_one_interface (NMDnsSystemdResolved *self, InterfaceConfig *ic)
|
|||
if (!nm_str_is_empty (mdns_arg) || !nm_str_is_empty (llmnr_arg))
|
||||
has_config = TRUE;
|
||||
|
||||
_request_item_append (&priv->request_queue_lst_head,
|
||||
"SetLinkDNS",
|
||||
g_variant_builder_end (&dns));
|
||||
_request_item_append (&priv->request_queue_lst_head,
|
||||
"SetLinkDomains",
|
||||
g_variant_builder_end (&domains));
|
||||
|
|
@ -284,6 +281,9 @@ prepare_one_interface (NMDnsSystemdResolved *self, InterfaceConfig *ic)
|
|||
_request_item_append (&priv->request_queue_lst_head,
|
||||
"SetLinkLLMNR",
|
||||
g_variant_new ("(is)", ic->ifindex, llmnr_arg ?: ""));
|
||||
_request_item_append (&priv->request_queue_lst_head,
|
||||
"SetLinkDNS",
|
||||
g_variant_builder_end (&dns));
|
||||
|
||||
return has_config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue