Vug::DnsCache
DNS cache singleton with configurable TTL. TTL can be set via DnsCache.ttl= before first use.
Constants
DEFAULT_TTL = 5.minutes
Class methods
clear
Sourceinstance
Sourcerecreate
Recreate the singleton instance with the current TTL. Use after changing DnsCache.ttl= to apply the new TTL immediately.
ttl
Sourcettl=(ttl : Time::Span)
Source