While this is not a reported bug in any recent Windows updates on the Microsoft blogs, some people are reporting this problem in Windows 11.
Click your Start Button, type cmd and choose Command Prompt
Run this command and hit Enter:
ipconfig /flushdns
Run this command and hit Enter:
ipconfig /registerdns
Run this command and hit Enter:
netsh winsock reset
Run this command and hit Enter:
netsh int ip reset
Close Command Prompt
Open the Settings App
Go to Network and Internet
Click the Network Reset button
Wait for your PC to automatically restart after 5 minutes, do not manually restart your PC.