The command line tool used to change the DNS settings is netsh which allows you to configure just about any aspect of your network connections in Windows. In order to use the tool the command line needs to be started as Administrator: in Windows 10 or 8.1,
How to change DNS settings from command line | ADMFactory Jun 18, 2019 How to Flush Your DNS Cache | PCMag Nov 08, 2018 How to Clear DNS Cache on Mac - iGeeksBlog Jun 29, 2020
Apr 17, 2020
[a] host command - DNS lookup utility. [b] dig command - DNS lookup utility. Both commands will allow you to get answer to various dns queries such as the IP address (A), mail exchanges (MX), name servers (NS), text annotations (TXT), or ANY (all) type. host DNS Lookup Examples. host command is a simple utility for performing DNS lookups
Flushing the DNS on Windows is an easy process, outlined below is the steps that should be run if you wish to clear your DNS cache. Open up a command prompt (Start > Run > cmd.exe > OK). Type in the command ipconfig /flushdns
How To Look Up DNS on a Linux and Unix Systems - nixCraft Jan 12, 2015