/systemd-251/docs/ |
D | RESOLVED-VPNS.md | 15 For a verbose explanation of `systemd-resolved.service`'s domain routing logic, 25 and everything that is not related to the company's domain names should go 36 used to suffix non-qualified domain names (i.e. single-label ones), to turn 37 them into fully qualified domain names. Traditionally (before 38 `systemd-resolved.service`), search domain names are attached to a system's 43 not just used to suffix single-label domain names, but also for routing 44 domain name lookups: if a network interface has a search domain `foo.com` 50 about DNS domain name lookup routing — they are not used for qualifying 51 single-label domain names. When it comes to routing assigning a routing 52 domain to a network interface is identical to assigning a search domain to [all …]
|
D | GROUP_RECORD.md | 24 field of user records. A string in DNS domain name syntax. 34 (this field is typically in reverse domain name syntax.)
|
/systemd-251/src/resolve/ |
D | resolved-dns-scope.c | 511 static DnsScopeMatch match_link_local_reverse_lookups(const char *domain) { in match_link_local_reverse_lookups() argument 512 assert(domain); in match_link_local_reverse_lookups() 514 if (dns_name_endswith(domain, "254.169.in-addr.arpa") > 0) in match_link_local_reverse_lookups() 517 if (dns_name_endswith(domain, "8.e.f.ip6.arpa") > 0 || in match_link_local_reverse_lookups() 518 dns_name_endswith(domain, "9.e.f.ip6.arpa") > 0 || in match_link_local_reverse_lookups() 519 dns_name_endswith(domain, "a.e.f.ip6.arpa") > 0 || in match_link_local_reverse_lookups() 520 dns_name_endswith(domain, "b.e.f.ip6.arpa") > 0) in match_link_local_reverse_lookups() 528 const char *domain, in match_subnet_reverse_lookups() argument 535 assert(domain); in match_subnet_reverse_lookups() 549 r = dns_name_address(domain, &f, &ia); in match_subnet_reverse_lookups() [all …]
|
D | resolved-dns-trust-anchor.c | 203 _cleanup_free_ char *domain = NULL, *class = NULL, *type = NULL; in dns_trust_anchor_load_positive() local 212 r = extract_first_word(&p, &domain, NULL, EXTRACT_UNQUOTE); in dns_trust_anchor_load_positive() 216 r = dns_name_is_valid(domain); in dns_trust_anchor_load_positive() 218 …iled to check validity of domain name '%s', at line %s:%u, ignoring line: %m", domain, path, line); in dns_trust_anchor_load_positive() 220 … log_warning("Domain name %s is invalid, at line %s:%u, ignoring line.", domain, path, line); in dns_trust_anchor_load_positive() 281 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DS, domain); in dns_trust_anchor_load_positive() 338 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DNSKEY, domain); in dns_trust_anchor_load_positive() 375 _cleanup_free_ char *domain = NULL; in dns_trust_anchor_load_negative() local 382 r = extract_first_word(&p, &domain, NULL, EXTRACT_UNQUOTE); in dns_trust_anchor_load_negative() 386 r = dns_name_is_valid(domain); in dns_trust_anchor_load_negative() [all …]
|
D | resolved-conf.c | 78 static int manager_add_search_domain_by_string(Manager *m, const char *domain) { in manager_add_search_domain_by_string() argument 84 assert(domain); in manager_add_search_domain_by_string() 86 route_only = *domain == '~'; in manager_add_search_domain_by_string() 88 domain++; in manager_add_search_domain_by_string() 90 if (dns_name_is_root(domain) || streq(domain, "*")) { in manager_add_search_domain_by_string() 92 domain = "."; in manager_add_search_domain_by_string() 95 r = dns_search_domain_find(m->search_domains, domain, &d); in manager_add_search_domain_by_string() 101 r = dns_search_domain_new(m, &d, DNS_SEARCH_DOMAIN_SYSTEM, NULL, domain); in manager_add_search_domain_by_string()
|
D | resolved-dns-question.c | 393 const char *domain, in dns_question_new_service() argument 420 if (!domain) in dns_question_new_service() 425 r = dns_name_apply_idna(domain, &buf); in dns_question_new_service() 429 domain = buf; in dns_question_new_service() 432 r = dns_service_join(service, type, domain, &joined); in dns_question_new_service() 441 name = domain; in dns_question_new_service()
|
D | resolvectl.c | 738 static int resolve_service(sd_bus *bus, const char *name, const char *type, const char *domain) { in resolve_service() argument 750 assert(domain); in resolve_service() 756 …service \"%s\" of type %s in %s (family %s, interface %s).", name, type, domain, af_to_name(arg_fa… in resolve_service() 758 …ebug("Resolving service type %s of %s (family %s, interface %s).", type, domain, af_to_name(arg_fa… in resolve_service() 760 …log_debug("Resolving service type %s (family %s, interface %s).", domain, af_to_name(arg_family) ?… in resolve_service() 766 … r = sd_bus_message_append(req, "isssit", arg_ifindex, name, type, domain, arg_family, arg_flags); in resolve_service() 785 strlen(domain) + 2; in resolve_service() 802 (int) strlen(domain), c == 0 ? domain : "", in resolve_service() 900 !streq_ptr(domain, canonical_domain)) { in resolve_service() 929 const char *domain, *full; in resolve_openpgp() local [all …]
|
D | resolved-resolv-conf.c | 241 char *domain; in write_resolv_conf_search() local 248 ORDERED_SET_FOREACH(domain, domains) { in write_resolv_conf_search() 250 fputs(domain, f); in write_resolv_conf_search()
|
D | resolved-bus.c | 1021 _cleanup_free_ char *name = NULL, *type = NULL, *domain = NULL; in resolve_service_all_complete() local 1143 r = dns_service_split(dns_resource_key_name(canonical->key), &name, &type, &domain); in resolve_service_all_complete() 1150 name, type, domain, in resolve_service_all_complete() 1313 const char *name, *type, *domain; in bus_method_resolve_service() local 1324 … r = sd_bus_message_read(message, "isssit", &ifindex, &name, &type, &domain, &family, &flags); in bus_method_resolve_service() 1344 r = dns_name_is_valid(domain); in bus_method_resolve_service() 1348 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid domain '%s'", domain); in bus_method_resolve_service() 1357 …r = dns_question_new_service(&question_utf8, name, type, domain, !(flags & SD_RESOLVED_NO_TXT), fa… in bus_method_resolve_service() 1361 …r = dns_question_new_service(&question_idna, name, type, domain, !(flags & SD_RESOLVED_NO_TXT), tr… in bus_method_resolve_service() 1700 const char *domain; in bus_property_get_ntas() local [all …]
|
D | meson.build | 34 'resolved-dns-search-domain.c', 35 'resolved-dns-search-domain.h',
|
D | resolved-dns-question.h | 33 …ce(DnsQuestion **ret, const char *service, const char *type, const char *domain, bool with_txt, bo…
|
D | resolved-link.c | 1230 LIST_FOREACH(domains, domain, l->search_domains) { in link_save_user() 1232 if (domain != l->search_domains) in link_save_user() 1235 if (domain->route_only) in link_save_user() 1238 fputs(DNS_SEARCH_DOMAIN_NAME(domain), f); in link_save_user()
|
/systemd-251/src/libsystemd-network/ |
D | test-dhcp6-client.c | 146 _cleanup_free_ char *domain = NULL; in TEST() local 151 assert_se(dhcp6_option_parse_domainname(data, 13, &domain) >= 0); in TEST() 152 assert_se(domain); in TEST() 153 assert_se(streq(domain, "example.com")); in TEST() 154 domain = mfree(domain); in TEST() 157 assert_se(dhcp6_option_parse_domainname(data, 5, &domain) >= 0); in TEST() 158 assert_se(domain); in TEST() 159 assert_se(streq(domain, "test")); in TEST() 160 domain = mfree(domain); in TEST() 163 assert_se(dhcp6_option_parse_domainname(data, 1, &domain) < 0); in TEST()
|
D | dhcp6-option.c | 823 _cleanup_free_ char *domain = NULL; in parse_domain() local 863 if (!GREEDY_REALLOC(domain, n + (n != 0) + DNS_LABEL_ESCAPED_MAX)) in parse_domain() 867 domain[n++] = '.'; in parse_domain() 869 r = dns_label_escape(label, c, domain + n, DNS_LABEL_ESCAPED_MAX); in parse_domain() 877 if (!GREEDY_REALLOC(domain, n + 1)) in parse_domain() 880 domain[n] = '\0'; in parse_domain() 883 *ret = TAKE_PTR(domain); in parse_domain() 891 _cleanup_free_ char *domain = NULL; in dhcp6_option_parse_domainname() local 897 r = parse_domain(&optval, &optlen, &domain); in dhcp6_option_parse_domainname() 905 *ret = TAKE_PTR(domain); in dhcp6_option_parse_domainname()
|
/systemd-251/src/shared/ |
D | dns-domain.h | 84 int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len, bool canonical); 90 int dns_service_join(const char *name, const char *type, const char *domain, char **ret); 91 int dns_service_split(const char *joined, char **name, char **type, char **domain);
|
D | dns-domain.c | 853 int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len, bool canonical) { in dns_name_to_wire_format() argument 857 assert(domain); in dns_name_to_wire_format() 874 r = dns_label_unescape(&domain, (char *) out, len, 0); in dns_name_to_wire_format() 988 int dns_service_join(const char *name, const char *type, const char *domain, char **ret) { in dns_service_join() argument 994 assert(domain); in dns_service_join() 1001 return dns_name_concat(type, domain, 0, ret); in dns_service_join() 1010 r = dns_name_concat(type, domain, 0, &n); in dns_service_join() 1030 _cleanup_free_ char *name = NULL, *type = NULL, *domain = NULL; in dns_service_split() local 1106 r = dns_name_normalize(d, 0, &domain); in dns_service_split() 1111 *_domain = TAKE_PTR(domain); in dns_service_split()
|
D | meson.build | 104 'dns-domain.c', 105 'dns-domain.h',
|
/systemd-251/src/network/ |
D | networkd-network.c | 906 const char *domain; in config_parse_domains() local 921 domain = is_route ? w + 1 : w; in config_parse_domains() 923 if (dns_name_is_root(domain) || streq(domain, "*")) { in config_parse_domains() 927 domain = "."; /* make sure we don't allow empty strings, thus write the root in config_parse_domains() 930 r = dns_name_normalize(domain, 0, &normalized); in config_parse_domains() 933 "'%s' is not a valid domain name, ignoring.", domain); in config_parse_domains() 937 domain = normalized; in config_parse_domains() 939 if (is_localhost(domain)) { in config_parse_domains() 942 domain); in config_parse_domains() 948 r = ordered_set_put_strdup(set, domain); in config_parse_domains()
|
D | networkd-json.c | 864 static int domain_build_json(int family, const char *domain, NetworkConfigSource s, const union in_… in domain_build_json() argument 866 assert(domain); in domain_build_json() 870 JSON_BUILD_PAIR_STRING("Domain", domain), in domain_build_json() 881 const char *domain; in domains_build_json() local 897 ORDERED_SET_FOREACH(domain, link_domains ?: network_domains) { in domains_build_json() 903 r = domain_build_json(AF_UNSPEC, domain, in domains_build_json() 919 if (sd_dhcp_lease_get_domainname(link->dhcp_lease, &domain) >= 0) { in domains_build_json() 925 … r = domain_build_json(AF_INET, domain, NETWORK_CONFIG_SOURCE_DHCP4, &s, elements + n); in domains_build_json()
|
/systemd-251/src/udev/ |
D | udev-builtin-net_id.c | 329 unsigned domain, bus, slot, func; in dev_pci_slot() local 345 r = sscanf(sysname, "%x:%x:%x.%u", &domain, &bus, &slot, &func); in dev_pci_slot() 383 if (domain > 0) in dev_pci_slot() 384 l = strpcpyf(&s, l, "P%u", domain); in dev_pci_slot() 397 domain, bus, slot, func, strempty(info->phys_port_name), dev_port, in dev_pci_slot() 423 domain = 0; /* See comments in parse_hotplug_slot_from_function_id(). */ in dev_pci_slot() 478 if (domain > 0) in dev_pci_slot() 479 l = strpcpyf(&s, l, "P%u", domain); in dev_pci_slot() 491 … domain, hotplug_slot, func, strempty(info->phys_port_name), dev_port, in dev_pci_slot()
|
/systemd-251/shell-completion/bash/ |
D | systemd-resolve | 43 --set-dns --set-domain --set-llmnr --set-mdns --set-dnssec --set-nta' 57 --set-dns|--set-domain|--set-nta)
|
/systemd-251/LICENSES/ |
D | murmurhash2-public-domain.txt | 2 domain. The author hereby disclaims copyright to this source code.
|
D | README.md | 52 * the following sources are under **Public Domain** (LicenseRef-murmurhash2-public-domain): 55 * the following sources are under **Public Domain** (LicenseRef-lookup3-public-domain):
|
/systemd-251/shell-completion/zsh/ |
D | _resolvectl | 48 domain:"Configure per-interface search and route-only domains" 54 query:"Resolve domain names, IPv4 and IPv6 addresses"
|
/systemd-251/test/test-network/conf/ |
D | isc-dhcpd-dhcp6pd.conf | 11 option dhcp6.domain-search "test.example.com","example.com";
|