-
CONFIG_DNS_SERVER1
¶
DNS server 1
Type: string
Help¶
DNS server IP address 1. The address can be either IPv4 or IPv6 address. An optional port number can be given. Following syntax is supported: 192.0.2.1 192.0.2.1:5353 2001:db8::1 [2001:db8::1]:5353 It is not mandatory to use this Kconfig option at all. The one calling dns_resolve_init() can use this option or not to populate the server list. If the DNS server addresses are set here, then we automatically create default DNS context for the user.
Direct dependencies¶
DNS_SERVER_IP_ADDRESSES
&& DNS_RESOLVER
&& NETWORKING
(Includes any dependencies from if’s and menus.)
Defaults¶
No defaults. Implicitly defaults to the empty string.
Kconfig definition¶
At subsys/net/lib/dns/Kconfig:66
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:24
→ subsys/net/Kconfig:84
→ subsys/net/lib/Kconfig:11
Menu path: (top menu) → Networking → Network Protocols → Set DNS server IP addresses
config DNS_SERVER1 string prompt "DNS server 1" ifDNS_SERVER_IP_ADDRESSES
&&DNS_RESOLVER
&&NETWORKING
depends onDNS_SERVER_IP_ADDRESSES
&&DNS_RESOLVER
&&NETWORKING
help DNS server IP address 1. The address can be either IPv4 or IPv6 address. An optional port number can be given. Following syntax is supported: 192.0.2.1 192.0.2.1:5353 2001:db8::1 [2001:db8::1]:5353 It is not mandatory to use this Kconfig option at all. The one calling dns_resolve_init() can use this option or not to populate the server list. If the DNS server addresses are set here, then we automatically create default DNS context for the user.
(Definitions include propagated dependencies, including from if’s and menus.)