Hello Massimo,
I hope you have a nice day!
Thank you for contacting Microsoft Support. I understand that you are having issues with internet connectivity on your Windows Server 2022 with Hyper V and a domain controller.
To fix this, I recommend that you follow the following steps:
- Check the network settings on the server to make sure it is properly configured to connect to the Internet. To do this, go to Control Panel > Network and Sharing Center > change the adapter settings.
- Check your firewall settings to make sure it's not blocking internet access. You can do this by going to the Control Panel > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall.
- Check your DNS settings to make sure they are configured correctly. To do this, go to Control Panel > Network and Sharing Center > change the adapter settings > right-click the network adapter > Internet Protocol Version 4 (TCP/IPv4) > Properties > Properties.
- Check the settings of the Hyper-V Virtual Switch to make sure it is configured correctly. To do this, log on to Hyper-V Manager > the Virtual Switch Management Console.
If the problem persists, I recommend that you contact your internet service provider to make sure there are no issues with your internet connection.
Hope this helps. Let me know if you have any further questions or concerns.
Best regards
Rosy