Relaunch DNS Client service when required by a specific troubleshooting.
Steps….
- Open Power Shell as admin – A rise is generally necessary.
- Control the service — Use the Dnscache service.
- Restart if appropriate — Use Re-Re-Re-Service Dnscache.
- Retester resolution — Use Resolve-DnsName or nslookup.
Commands
Get-Service Dnscache
Restart-Service Dnscache
Resolve-DnsName exemple.fr
Key takeaways
- Usually start by emptying the DNS cache before restarting a service.
- On some versions/configurations, the service can be protected or managed differently.