Added a simple DNS cache and TTL timers.