Lines Matching refs:dns
156 strv_free(network->dns); in network_free()
419 static int network_set_dns(Context *context, const char *ifname, const char *dns) { in network_set_dns() argument
424 r = in_addr_from_string_auto(dns, &family, &a); in network_set_dns()
435 return strv_extend(&network->dns, dns); in network_set_dns()
593 const char *hostname = NULL, *ifname, *dhcp_type, *dns, *p; in parse_cmdline_ip_address() local
675 dns = strndupa_safe(value, p - value); in parse_cmdline_ip_address()
676 r = network_set_dns(context, ifname, dns); in parse_cmdline_ip_address()
1058 r = strv_extend_strv(&network->dns, all->dns, false); in context_merge_networks()
1154 if (!strv_isempty(network->dns)) in network_dump()
1155 STRV_FOREACH(dns, network->dns) in network_dump()
1156 fprintf(f, "DNS=%s\n", *dns); in network_dump()