ubuntu 16 flush dns cache code example Example: ubuntu clear dns cache sudo systemd-resolve --flush-caches