dotfiles/fish/functions/flushdns.fish

4 lines
115 B
Fish

function flushdns -d "Flush local DNS cache"
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
end