/// <summary> /// Add a DNS cache entry. /// </summary> /// <param name="DomainName">The domain name.</param> /// <param name="ARecord">A DNS record</param> public void AddToCache(String DomainName, A ARecord) { _DNSCache.Add(DomainName, IPSocket.Localhost(new IPPort(53)), ARecord); }