DNS commands

Du bist hier:
< Zurück

Here are some useful commands regarding the DNS cache, resolve etc.

#Display the DNS Cache
ipconfig /displaydns

#Empty the DNS Cache
ipconfig /flushdns

#Display DNS Cache (Powershell only)
Get-DnsClientCache

#Empty the DNS Cache (PowerShell only)
Clear-DnsClientCache

#Test a connection to a computer (ping like PowerShell command)
Test-Connection ComputerName

<# Provides information about network latency and network loss at intermediate hops between a source and destination. 
This command sends multiple echo Request messages to each router between a source and destination, over a period of time, and then computes results based on the packets returned from each router. 
Because this command displays the degree of packet loss at any given router or link, you can determine which routers or subnets might be having network problems. #>
pathping ComputerName

#Performs a DNS name query resolution for the specified name
Resolve-DnsName ComputerName

#Find DNS records for a specific computer
nslookup -debug ComputerName

Inhaltsverzeichnis