Open gusechuisheng opened 3 months ago
How to handle this error
on the all affected DC. check connectivity to powershell source Test-NetConnection -ComputerName www.powershellgallery.com
if result =] true. then proceed with the command below. Install-Module -Name xDnsServer -Force -AllowClobber
Else
you will need to fix network dns issue by manually configuration secondary DNS 8.8.8.8 on the NAT NIC with internet
TASK [domain_controller : Check for xDnsServer Powershell module] ** fatal: [dc03]: FAILED! => {"changed": false, "msg": "Problems installing xDnsServer module: No match was found for the specified search criteria and module name 'xDnsServer'. Try Get-PSRepository to see all available registered module repositories.", "nuget_changed": false, "output": "", "repository_changed": false} fatal: [dc01]: FAILED! => {"changed": false, "msg": "Problems installing xDnsServer module: No match was found for the specified search criteria and module name 'xDnsServer'. Try Get-PSRepository to see all available registered module repositories.", "nuget_changed": false, "output": "", "repository_changed": false}
PLAY RECAP ***** dc01 : ok=24 changed=5 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
dc02 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
dc03 : ok=24 changed=5 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
srv02 : ok=18 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
srv03 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0