delete cash on ubuntu

C++
//delete cash  //
systemd-resolve --statistics
systemd-resolve --flush-caches
Source

Also in C++: