Table of Contents
List of Examples
This module is an implementation of a cache system designed for DNS records. For succesfull DNS queries of all types, the module will store in a cache/db backend the mappings, for TTL number of seconds received in the DNS answer. Failed DNS queries will also be stored in the back-end, with a TTL that can be specified by the user. The module uses the Key-Value interface exported from the core.
The url of the key-value back-end that will be used for storing the DNS records.
Example 1.1. Set cachedb_url
parameter
... #use internal cachedb_local module modparam("dns_cache", "cachedb_url","local://") #use cachedb_memcached module with memcached server at 192.168.2.130 modparam("dns_cache", "cachedb_url","memcached://192.168.2.130:8888/") ...