mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Previously, this mapping was not stored within the tunnel so we had to perform the resolution further up. This has changed and the tunnel itself now knows about this mapping. Thus, we can easily move the actual DNS resolution also into the tunnel, thereby reducing the API surface of `Tunnel` because we don't need the `write_dns_lookup_response` function. This is crucial because it is the last place where `Tunnel` is being cloned in #3391. With this sorted out the way, we can remove all `Arc`s and locks from `Tunnel` as part of #3391.