oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.76k stars 220 forks source link

Reset DNS cache when disconnecting from an exit #2009

Open jagerman opened 1 year ago

jagerman commented 1 year ago

When we disconnect an exit we should flush the internal unbound DNS cache so that DNS lookups get performed again (since DNS results may vary considerably if you connect through an exit in a different geographic location).