Embedded TCP/IP stack  3.9.4

DNS client/resolver configuration file. More...

Detailed Description

DNS client/resolver configuration file.

This section describes the parameters specific to the DNS client.
The user may override and change the default values in the application-specific configuration file fnet_user_config.h.


#define FNET_CFG_DNS
 DNS client/resolver support: More...
#define FNET_CFG_DNS_MAX   (1u)
 Maximum number of the DNS clients that can be run simultaneously.
Default value is 1.

. More...

 Default DNS port number (in network byte order).
The DNS client uses this port for sending and receiving of DNS messages.
It can be changed during the DNS Resolver initialization by the fnet_dns_init() function.
Default value is FNET_HTONS(53).

. More...

 The maximum number of times the DNS client/resolver will retransmit the request message to a DNS server.
Default value is 5.

. More...

#define FNET_CFG_DNS_RETRANSMISSION_TIMEOUT   (1U) /* seconds */
 Timeout for the response from the remote DNS server (in seconds).

The recommended value is 1 second.
If the DNS client does not receive any response from a DNS server, it sends new request message.
Default value is 1.

. More...


© 2005-2017 by Andrey Butok. http://fnet.sourceforge.net