WireGuard Android: Cached resolved host
Jason A. Donenfeld
Jason at zx2c4.com
Sun Nov 4 18:25:50 CET 2018
t's mostly this way to prevent DNS lookup failures during the network
connectivity changes, such as turning on and off and on a tunnel
really fast. I agree the current implementation's behavior is
suboptimal though. Probably instead we should invalidate based on the
TTL.
The code in question lives at
app/src/main/java/com/wireguard/config/InetEndpoint.java if you want
to take a stab at fixing it.
More information about the WireGuard
mailing list