ipconfig /flushdns ubuntu code example Example: flush dns ubuntu 18.04 sudo systemd-resolve --flush-caches