On the Domain Controller
DNS should be installed and running:
Get-WindowsFeature DNS
Check DNS service:
Get-Service DNS
Check DNS zones:
Get-DnsServerZone
The DC should usually point DNS to itself:
Set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses 127.0.0.1
or sometimes to its own IP:
Set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses 192.168.56.10
On the Windows client
The client DNS must point to the Domain Controller IP, not Google DNS or router DNS:
Set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses 192.168.56.10
Then test:
Resolve-DnsName powershell.local
Test-Connection 192.168.56.10
Test-NetConnection 192.168.56.10 -Port 53
—




Client Side

Set-DnsClientServerAddress -InterfaceAlias “Ethernet 14” -ServerAddresses 192.168.56.10


