To see your current DNS settings, type ipconfig /displaydns and press Enter. To delete the entries, type ipconfig /flushdns and press Enter. To see your DNS settings again, type ipconfig /displaydns and press Enter. You should see blank records or you might get the message "Could not display the DNS Resolver Cache."
Which command can be used to resolve DNS issues?
The nslookup command provides functions for checking different DNS records and servers. The tool is available on macOS, Linux, and Windows operating systems by default, and it was the first tool for querying DNS. The output prints the DNS server's address and the A record response