Fix(dns): miss response
This commit is contained in:
1 parent
0dd2a6dee5
commit
6077e825c5
1 file changed
+1
@@ -37,6 +37,7 @@ func withFakeIP(cache *cache.Cache, pool *fakeip.Pool) handler {
|
||||
putMsgToCache(cache, ip.String(), msg)
|
||||
|
||||
setMsgTTL(msg, 1)
|
||||
w.WriteMsg(msg)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user