Skip to content

Instantly share code, notes, and snippets.

@micoli
Created September 14, 2019 12:37
Show Gist options
  • Save micoli/6f6534895d6a934fda32307590fa4df1 to your computer and use it in GitHub Desktop.
Save micoli/6f6534895d6a934fda32307590fa4df1 to your computer and use it in GitHub Desktop.
networksetup -setdnsservers Wi-Fi \
8.8.8.8 \
8.8.4.4 \
$(kubectl get svc --namespace kube-system kube-dns -o json | jq -r ".spec.clusterIP")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment