Skip to content

Instantly share code, notes, and snippets.

@csantanapr
Last active February 18, 2022 02:15
Show Gist options
  • Save csantanapr/4e05abc5002c0870e7c08bdd687edb75 to your computer and use it in GitHub Desktop.
Save csantanapr/4e05abc5002c0870e7c08bdd687edb75 to your computer and use it in GitHub Desktop.
minikube ssh <-- git bash window
sudo su - <-- within the minikube environment
cat << EOF > /etc/systemd/resolved.conf
> [Resolve]
> DNS=1.1.1.1
> FallbackDNS=1.1.1.1 8.8.8.8 1.0.0.1 8.8.4.4 2606:4700:4700::1111 2001:4860:4860::8888 2606:4700:4700::1001 2001:4860:486
> EOF
systemctl restart systemd-resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment