Fix(dns): miss response

This commit is contained in:
Dreamacro 2019-07-15 17:44:55 +08:00
parent 0dd2a6dee5
commit 6077e825c5

View file

@ -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
}
}