Embedded TCP/IP stack: DNS Client Configuration Parameters

FNET

Embedded TCP/IP stack  4.1.0

Detailed Description

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.

Macros

#define FNET_CFG_DNS
 DNS client/resolver support: More...
 
#define FNET_CFG_DNS_PORT   (FNET_HTONS(53U))
 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...

 
#define FNET_CFG_DNS_RETRANSMISSION_MAX   (5U)
 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-2018 by Andrey Butok. http://fnet.sourceforge.net