If you're having DNS issues on Windows 11, the first port of call is to flush the operating system's DNS cache.