With K, MB or GB overview
ls -lSh
Clear systemd DNS cache
systemd-resolve --flush-caches
Confirm the DNS purge
systemd-resolve --statistics
0 cache size indicates a successful DNS purge.
Clear systemd DNS cache
systemctl restart nscd
Simply restarting the service clears the DNS cache.
###BIND-based DNS Servers
systemctl restart named
or
systemctl restart bind9