Jump to main content

##

# TCPIP_DNS_CLIENT_MODULE_CONFIG Structure

## C

    typedef struct {
    bool deleteOldLease;
    int cacheEntries;
    uint32_t entrySolvedTmo;
    int nIPv4Entries;
    IP_ADDRESS_TYPE ipAddressType;
    int nIPv6Entries;
    } TCPIP_DNS_CLIENT_MODULE_CONFIG;

## Description

Structure: TCPIP_DNS_CLIENT_MODULE_CONFIG.

DNS module runtime configuration and initialization parameters.

## Members

Members | Description
--- | ---
deleteOldLease | Delete old cache if still in place, specific DNS parameters.
cacheEntries | Max number of cache entries.
entrySolvedTmo | Solved entry removed after this tmo if not referenced, in seconds.
nIPv4Entries | Number of IPv4 entries per DNS name and Default value is 1.
ipAddressType | IP protocol type to use for connecting to the DNS server: IPv4 or IPv6 Currently only IPv4 is supported and this parameter is not used Reserved for future improvements.
nIPv6Entries | Number of IPv6 address per DNS Name Default value is 1 and is used only when IPv6 is enabled.

## Remarks

None.