Functions
extDns Cache: DNS cache support

Functions

extDnsMessageext_dns_cache_get (extDnsCtx *ctx, extDnsClass qclass, extDnsType qtype, const char *query, const char *source_address)
 Allows to check if there is a reply stored ready to be served under the provided query class, query type and query name. More...
 
extDnsMessageext_dns_cache_get_by_query (extDnsCtx *ctx, extDnsMessage *msg, const char *source_address)
 The same as ext_dns_cache_get but taking question values that indexs the cache from the provided message. More...
 
void ext_dns_cache_init (extDnsCtx *ctx, int max_cache_size)
 Allows to init the DNS memory cache support, with the default configuration on the provided extDnsCtx object. More...
 
void ext_dns_cache_stats (extDnsCtx *ctx, extDnsCacheStats *stats)
 Allows to get cache stats on the provided context. More...
 
axl_bool ext_dns_cache_store (extDnsCtx *ctx, extDnsMessage *msg, const char *source_address)
 Allows to store a message in the cache. More...
 

Detailed Description