Fix Windows Update DNS Error: Step-by-Step Guide - How to Fix 502 Bad Gateway in CMD Due to DNS-Windows Defender Update Fails with 0x80240034

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.