Planning icon indicating copy to clipboard operation
Planning copied to clipboard

Is there any plan to add dns cache in the program

Open evvil opened this issue 9 years ago • 2 comments

when i use "domainStrategy": "IPIfNonMatch", strategy, every domain will query remote dns server if cache some domain fetched from the dns server, it will have a high performance

evvil avatar Aug 10 '17 07:08 evvil

The DNS query result is already cached. DNS lookup will look at cache first and make a real query if no previous record is found, or previous record has expired.

See: https://github.com/v2ray/v2ray-core/blob/master/app/dns/server/server.go

DarienRaymond avatar Aug 10 '17 10:08 DarienRaymond

oh, sorry, because i didn't find any document of it, i will close it. thanks again

evvil avatar Aug 10 '17 14:08 evvil