Outline client very slow for DNS lookups [Windows 11]

I recently deployed Outline for a remote-work company and am getting a number of reports that it is slow/pages are slow to load. I did some digging and I believe this to be a slow DNS lookup issue with the Outline client.

To replicate; run Resolve-DnsName -name google.com in Terminal - takes ~5s for me with outline running, but is instant without it, and also is instant using the shadowsocks.org version which makes me believe it is something with the client and not the server. Anyone else experienced this/how did you get around it?

Yeah had the same problem. Here’s how I fixed it: Properly prioritize between multiple network adapters on Windows · Issue #1235 · Jigsaw-Code/outline-apps · GitHub

I actually found your post originally and tried it and it did not work. But I just tinkered with it today and noticed that you need to do both IPv4 *and* IPv6 metrics in the same way, or just disable IPv6 on both adapters. Only then does it work!

Hopefully this helps anyone else who finds this, or in case you want to update your post on github. Hope the outline team can fix this in the next client release.

It wasn’t me who actually wrote the post, it’s just that I had the same problem and the fix outlined in the post worked for me. Sorry for the confusion! You can also tweak the metric number itself; I have it set to just 1, for example, and it seems to be working great.

I’ve set it to 5 instead of 45 and it’s working now! Thank you