how to flush dns on centos 7 code example
Example: flush dns linux
sudo systemd-resolve --flush-caches
sudo systemd-resolve --statistics
sudo /etc/init.d/dns-clean start
sudo systemd-resolve --flush-caches
sudo systemd-resolve --statistics
sudo /etc/init.d/dns-clean start