Fix Windows Update 502 Bad Gateway Due to DNS Configuration - Resolve Windows Update Authentication Failed – Group Policy-Windows Defender Update Sync Version Mismatch Guide

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