Hi Mohd Shahed,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
To resolve the Azure Stack HCI validation issue, you may need to configure nested virtualization and enable MAC Address Spoofing for the virtual machine(s) in question.
Make sure that port 53 (UDP and TCP) is open and accessible between all Azure Stack HCI nodes and the DNS servers. Use the following command to validate connectivity:
Test-NetConnection -ComputerName <DNS_Server_IP> -Port 53
Steps to Configure:
Enable Nested Virtualization: Use the following PowerShell command to expose virtualization extensions:
Set-VMProcessor -VMName <VM_Name> -ExposeVirtualizationExtensions $true
Enable MAC Address Spoofing: In some scenarios, MAC Address Spoofing must be enabled to pass DNS validation. Use the following command:
Set-VMNetworkAdapter -VMName <VM_Name> -MacAddressSpoofing On
This allows the VM to modify its MAC address and ensures proper packet handling in advanced network configurations.
After configuring these settings, rerun the Azure Stack HCI validation process and verify if the issue is resolved.
For more details, please refer to the below documentation:
Run Hyper-V in a Virtual Machine with Nested Virtualization
If an answer has been helpful, please consider accept the "Answer" and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community.