I've tried a lot of different solutions but none of them seem to work. Other posts don't work as well.
Every time this happens, it seems to be a completely different link. I'll post some examples.
Name resolution for the name targeting.unrulymedia.com timed out after none of the configured DNS servers responded. Client PID 1368.
Name resolution for the name api-emea.flightproxy.teams.microsoft.com timed out after none of the configured DNS servers responded. Client PID 19152.
Name resolution for the name fastlane.rubiconproject.com timed out after none of the configured DNS servers responded. Client PID 1368.
For people who have the same issue:
I believe I managed to solve the issue (or at least significantly reduce it) by disabling update services. and adding an Inbound Rule and Outbound Rule to my firewall. Here's how to do that.
To disable update services for apps:
1: Press Win + R, then type msconfig in the prompt.
2: Navigate to Services.
3: Check Hide all Microsoft services.
4: Look for the following programs:
- Anything that says "Update Service" or "Updater", e.g., ASUS Update Service
- Anything that says "Telemetry Service" (not sure what this means)
- "Client Web Helper"
- "Network Service" with vendor names
Disable 2-3 at a time by clearing the tickbox next to it and then hit Apply and OK.
5: Reboot and monitor Event Viewer. If the issue persists, try disabling more if applicable.
To add an Inbound Rule to your firewall (MAKE SURE YOU REPEAT THIS WITH OUTBOUND RULES TOO!):
1: Go to Windows Security.
2: On the left pane, click Firewall & network protection.
3: Click Advanced settings at the bottom.
4: On the left pane, right click Inbound Rules.
5: Click New Rule.
6: On the new prompt, click Custom rule and Next.
7: All Programs.
8: Protocol type: UDP, specify ports 53.
9: Any IP address.
10: Allow the connection.
11: Check Domain, Private, Public.
12: Title and description are at your discretion; make it something memorable, e.g., Allow DNS.
Do the same thing for Outbound Rules.
If this doesn't work, try changing wireless mode.
1: Search up Device Manager.
2: Select your network adapter under Network Adapters.
3: Go to the Advanced tab and search for "Wireless Mode".
4: Experiment with different options and restart to see if it works. In my case, switching it to A worked.
One of these steps managed to work for me but I'm not entirely sure which one.