Skip to content

Instantly share code, notes, and snippets.

@jeanlaurent
Created November 19, 2015 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeanlaurent/63324199245ef7dc3ea5 to your computer and use it in GitHub Desktop.
Save jeanlaurent/63324199245ef7dc3ea5 to your computer and use it in GitHub Desktop.
This check the current dns setting on mac against the current dns settings in the docker machine default
diff <(scutil --dns | grep 'nameserver\[[0-9]*\]' | cut -d' ' -f5 | sort | uniq) <(docker-machine ssh default cat /etc/resolv.conf | cut -d' ' -f2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment