debian flush dns 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: dns flush command
ipconfig /flushdns
sudo systemd-resolve --flush-caches
sudo systemd-resolve --statistics
sudo /etc/init.d/dns-clean start
ipconfig /flushdns