Implement caching dns resolver

This commit is contained in:
9seconds
2021-03-30 14:14:37 +03:00
parent 841a4d2227
commit 10b78322a3
16 changed files with 163 additions and 47 deletions
-1
View File
@@ -9,7 +9,6 @@ import (
type noop struct{}
func (n noop) Contains(ip net.IP) bool { return false }
func (n noop) Shutdown() {}
func NewNoop() mtglib.IPBlocklist {
return noop{}