protected function setCache($type, $tag, $ip) { $this->dnsCache[md5($type . $tag)] = ['ip' => $ip, 'created' => time()]; }