flush dns debian code example
Example 1: flush dns linux
sudo systemd-resolve --flush-caches
sudo systemd-resolve --statistics
sudo /etc/init.d/dns-clean start
Example 2: flush dns cmd
ipconfig /flushdns
sudo systemd-resolve --flush-caches
sudo systemd-resolve --statistics
sudo /etc/init.d/dns-clean start
ipconfig /flushdns