/Zephyr-latest/subsys/net/lib/dns/ |
D | Kconfig | 5 bool "DNS resolver" 11 This option enables the DNS client side support for Zephyr 16 bool "Automatically initialize the default DNS context" 19 Automatically initialize the default DNS context so dns_resolve_init 25 This option enables multicast DNS client side support. 33 hosts. If you enable this option, then the DNS requests are ONLY sent 35 [ff02::1:3]:5355 and other DNS server addresses are ignored. 38 int "Additional DNS queries" 42 Number of additional DNS queries that the DNS resolver may 48 int "Maximum number of IP addresses for DNS name" [all …]
|
D | dns_sd.h | 43 * @brief Extract labels from a DNS-SD PTR query 58 * @param[out] record the DNS-SD record to initialize and populate 72 * @brief See if the DNS SD @p filter matches the @p record 108 * @param record The reference DNS-SD record 109 * @param filter The DNS-SD record filter 119 * @brief Handle a DNS PTR Query with DNS Service Discovery 121 * This function should be called once for each DNS-SD record that 122 * matches a particular DNS PTR query. 130 * @param inst the DNS-SD record to advertise 144 * @brief Handle a Service Type Enumeration with DNS Service Discovery [all …]
|
D | dns_cache.h | 2 * @brief DNS cache 4 * An cache holding dns records for faster dns resolving. 35 * @brief Statically define and initialize a DNS queue. 50 * @brief Flushes the dns cache removing all its entries. 59 * @brief Adds a new entry to the dns cache removing the one closest to expiry
|
D | dns_pack.h | 18 * DNS Message Header is always 12 bytes 42 #define NS_CMPRSFLGS 0xc0 /* DNS name compression */ 50 /* These two defines represent the 3rd and 4th bytes of the DNS msg header. 57 * DNS message structure for DNS responses 59 * Structure that points to the buffer containing the DNS message. It also 183 /** It returns the ID field in the DNS msg header */ 198 /** It returns the QR field in the DNS msg header */ 204 /** It returns the OPCODE field in the DNS msg header */ 210 /** It returns the AA field in the DNS msg header */ 216 /** It returns the TC field in the DNS msg header */ [all …]
|
/Zephyr-latest/tests/net/lib/dns_addremove/src/ |
D | main.c | 217 /* Wait for DNS added callback without adding DNS */ in test_dns_do_not_add_add_callback6() 223 "Received DNS added callback when should not have"); in test_dns_do_not_add_add_callback6() 228 /* Wait for DNS added callback after adding DNS */ 249 "Timeout while waiting for DNS added callback"); in test_dns_add_callback6() 257 /* Wait for DNS removed callback after removing DNS */ in test_dns_remove_callback6() 263 zassert_equal(ret, 0, "Cannot remove DNS server"); in test_dns_remove_callback6() 269 "Timeout while waiting for DNS removed callback"); in test_dns_remove_callback6() 277 /* Wait for DNS removed callback without removing DNS */ in test_dns_remove_none_callback6() 282 zassert_not_equal(ret, 0, "Cannot remove DNS server"); in test_dns_remove_none_callback6() 288 "Received DNS removed callback when should not have"); in test_dns_remove_none_callback6() [all …]
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | dns_resolve.rst | 3 DNS Resolve 13 The DNS resolver implements a basic DNS resolver according 15 Supported DNS answers are IPv4/IPv6 addresses and CNAME. 17 If a CNAME is received, the DNS resolver will create another DNS query. 21 The multicast DNS (mDNS) client resolver support can be enabled by setting 31 For more information about DNS configuration variables, see: 32 :zephyr_file:`subsys/net/lib/dns/Kconfig`. The DNS resolver API can be found at 38 See :zephyr:code-sample:`dns-resolve` sample application for details.
|
D | net_shell.rst | 7 enabling/disabling features, and issuing commands like ping or DNS resolving. 25 "net dns", "Show how DNS is configured. The command can also be used to 26 resolve a DNS name. Only available if :kconfig:option:`CONFIG_DNS_RESOLVER` is set."
|
/Zephyr-latest/include/zephyr/net/ |
D | dns_resolve.h | 2 * @brief DNS resolving library 4 * An API for applications to resolve a DNS name. 26 * @brief DNS resolving library 27 * @defgroup dns_resolve DNS Resolve Library 35 * DNS query type enum 149 /** @brief What is the type of the socket given to DNS socket dispatcher, 162 * @brief Callback used when the DNS socket dispatcher has found a handler for 165 * @param ctx DNS resolve or mDNS responder context. 167 * @param addr Socket address of the peer that sent the DNS packet. 169 * @param buf Pointer to data buffer containing the DNS message. [all …]
|
D | dns_sd.h | 2 * @brief DNS Service Discovery 23 * @brief DNS Service Discovery 25 * @details This API enables services to be advertised via DNS. To 32 * @defgroup dns_sd DNS Service Discovery 89 * @brief Register a service for DNS Service Discovery 104 * @param _id variable name for the DNS-SD service record 109 * @param _text information for the DNS TXT record 125 * @brief Register a TCP service for DNS Service Discovery 127 * This macro can be used for service advertisement using DNS-SD. 152 * @param id variable name for the DNS-SD service record [all …]
|
D | socket_offload.h | 23 * @brief An offloaded Socket DNS API interface 29 /** DNS getaddrinfo offloaded implementation API */ 33 /** DNS freeaddrinfo offloaded implementation API */ 38 * @brief Register an offloaded socket DNS API interface. 40 * @param ops A pointer to the offloaded socket DNS API interface.
|
/Zephyr-latest/tests/net/lib/dns_addremove/ |
D | testcase.yaml | 3 - dns 12 net.dns.addremove: 14 net.dns.addremove.no_ipv6: 17 net.dns.no_ipv4:
|
/Zephyr-latest/tests/net/lib/dns_resolve/ |
D | testcase.yaml | 3 - dns 12 net.dns.resolve: 15 net.dns.resolve.preempt: 18 net.dns.resolve.no_ipv6:
|
/Zephyr-latest/tests/net/lib/dns_sd/ |
D | testcase.yaml | 3 - dns 10 net.dns.sd: 13 net.dns.sd.no_ipv6:
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | dns.c | 24 PR_WARNING("dns: Timeout while resolving name.\n"); in dns_result_cb() 46 PR("dns: %s\n", addr); in dns_result_cb() 51 PR("dns: All results received\n"); in dns_result_cb() 56 PR_WARNING("dns: No such name found.\n"); in dns_result_cb() 60 PR_WARNING("dns: Unhandled status %d received\n", status); in dns_result_cb() 79 PR("DNS servers:\n"); in print_dns_info() 155 PR_WARNING("No default DNS context found.\n"); in cmd_net_dns_cancel() 172 PR("No pending DNS requests.\n"); in cmd_net_dns_cancel() 176 "DNS resolver"); in cmd_net_dns_cancel() 223 PR_INFO("DNS resolver not supported. Set CONFIG_DNS_RESOLVER to " in cmd_net_dns_query() [all …]
|
/Zephyr-latest/samples/net/dns_resolve/ |
D | README.rst | 1 .. zephyr:code-sample:: dns-resolve 2 :name: DNS resolve 55 are the IPv6 addresses for the DNS client running Zephyr and the DNS server, 58 DNS server 73 Google DNS servers. In order to use the local dnsmasq server, please edit 74 the appropriate 'prj.conf' file and update the DNS server addresses. For 84 DNS uses port 53 by default, but the dnsmasq.conf file provided by 114 If you want Zephyr to respond to a LLMNR DNS request that Windows host is 124 A Zephyr host needs a hostname assigned to it so that it can respond to a DNS
|
D | sample.yaml | 6 - dns 11 description: DNS resolver, mDNS and LLMNR responder 12 name: DNS resolver and responder sample application
|
D | prj.conf | 20 # Enable the DNS resolver 39 # Google DNS IPv4 and IPv6 servers 43 # Router is needed when resolving using external DNS servers
|
/Zephyr-latest/modules/openthread/ |
D | Kconfig.features | 151 bool "DNS client support" 154 bool "DNS query over tcp" 157 bool "DNS Stateful Operations (DSO) support" 160 bool "Forwarding DNS queries to upstream" 162 Enable forwarding DNS queries to platform DNS upstream API 165 bool "DNS-SD discovery proxy support" 168 bool "DNS-SD server support" 231 bool "Multicast DNS (mDNS)"
|
/Zephyr-latest/tests/net/lib/dns_packet/ |
D | testcase.yaml | 2 net.dns: 8 - dns
|
/Zephyr-latest/tests/net/lib/dns_dispatcher/ |
D | testcase.yaml | 3 - dns 12 net.dns.dispatch:
|
/Zephyr-latest/tests/net/lib/dns_cache/ |
D | testcase.yaml | 3 - dns 13 net.dns.cache:
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | Kconfig | 90 bool "Use DNS server from DHCPv4 option and save it in the DNS resolver default context" 94 If this option is set, then the DNS server can be set from the 174 string "DNS Server address" 178 This configuration option specifies the DNS server address that the DHCPv4 180 DHCPv4 server adds this DNS server address in the DHCP offer and 182 specified DNS server for name resolution.
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | Kconfig | 44 bool "Use negotiated DNS servers" 47 Use the DNS servers negotiated in the IPCP configuration. 69 bool "Serve DNS addresses to peer" 71 Enable support for serving DNS addresses to PPP peer.
|
/Zephyr-latest/samples/net/tftp_client/ |
D | Kconfig | 19 When DNS resolver is enabled, DNS domain names could be used as well.
|
/Zephyr-latest/samples/net/dns_resolve/src/ |
D | main.c | 45 LOG_INF("DNS query was canceled"); in dns_result_cb() 48 LOG_INF("DNS resolve failed"); in dns_result_cb() 54 LOG_INF("DNS resolving finished"); in dns_result_cb() 59 LOG_INF("DNS resolving error (%d)", status); in dns_result_cb() 154 LOG_DBG("DNS id %u", dns_id); in do_ipv4_lookup() 213 /* We cannot run DNS lookup directly from this thread as the in ipv4_addr_add_handler() 249 LOG_INF("Getting IPv4 address via DHCP before issuing DNS query"); in setup_dhcpv4() 310 LOG_DBG("DNS id %u", dns_id); in do_ipv4_lookup() 352 LOG_DBG("DNS id %u", dns_id); in do_ipv6_lookup() 398 LOG_INF("Starting DNS resolve sample"); in main()
|