how to flush dns on ubuntu code example Example: flush dns ubuntu 18.04 sudo systemd-resolve --flush-caches