logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Zonemaster::Engine::Nameserver::Cache::RedisCache - global shared caches for nameserver objects

Attributes

       Subclass of Zonemaster::Engine::Nameserver::Cache.

Class Methods

       new Construct a new Cache object.

       set_key($idx, $packet)
           Store $packet with key $idx.

       get_key($idx)
           Retrieve $packet (data) at key $idx.

       Cache  time  is the shortest time of TTL in the DNS packet and cache.redis.expire in the profile. Default
       value of cache.redis.expire is 300 seconds.

       If there is no TTL value to be used in the DNS packet (e.g. SERVFAIL or no response), then cache time  is
       fixed to 1200 seconds instead.

perl v5.40.1                                       2025-03-21              Zonemaster::En...che::RedisCache(3pm)

Name

       Zonemaster::Engine::Nameserver::Cache::RedisCache - global shared caches for nameserver objects

Synopsis

           This is a global caching layer.

See Also