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