mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
dns shortcuts
This commit is contained in:
parent
e1d5369595
commit
7a89e6ef75
1 changed files with 2 additions and 0 deletions
|
|
@ -137,6 +137,8 @@ if [[ `uname` == 'Darwin' ]]; then
|
||||||
export PATH=$PATH:/usr/local/sbin
|
export PATH=$PATH:/usr/local/sbin
|
||||||
|
|
||||||
alias flushdns='sudo killall -HUP mDNSResponder'
|
alias flushdns='sudo killall -HUP mDNSResponder'
|
||||||
|
alias localdns='sudo networksetup -setdnsservers Wi-Fi empty && sudo networksetup -setdnsservers Wi-Fi 127.0.0.1 ::1 && flushdns'
|
||||||
|
alias stockdns='sudo networksetup -setdnsservers Wi-Fi empty && flushdns'
|
||||||
|
|
||||||
# Araxis needs to come first so that its tools don't get stomped
|
# Araxis needs to come first so that its tools don't get stomped
|
||||||
# by ones Homebrew installs to /usr/local/bin. In particular, compare
|
# by ones Homebrew installs to /usr/local/bin. In particular, compare
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue