Logs, links, notes, recipes, ...

DNS on Mac

Published by Felipe Crochik on October 19, 2018October 19, 2018

Tags
angular ansible argocd aws dns docker docker-machine eks elasticsearch elk filebeat grafana guacamole IAM k8s kibana kubernetes lcow letsencrypt macos metricbeat microk8s mongo multipass nginx node openapi rabbitmq rancher rancheros redis registry s3 samba ssh ssl swagger typescript ubuntu vpn websocket windows windows server wireguard xip.io
Recent Posts
  • Grafana – reset admin password
  • Multipass – Remote-SSH development environment on your Mac
  • AWS Credentials
  • EKS – IAM roles
  • WireGuard VPN
Archives
  • January 2022
  • August 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • September 2019
  • May 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • January 2018
  • December 2017
  • November 2017
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Hopefully this was the last time I have to “google it” 🙂

Flush DNS cache on Mac

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say cache flushed

To Change the DNS server

networksetup -setdnsservers WI-FI 8.8.8.8 8.8.4.4
Categories: cheatsheet
Tags: macos

0 Comments

Leave a Reply Cancel reply

You must be logged in to post a comment.

Related Posts

cheatsheet

AWS: VPC DNS Server

From a running ec2, as long as the vpc has DNS support enabled, you can use the vpc dns server to resolve DNS names. It will resolve public AWS names to private IPs if within Read more…

cheatsheet

Kubernetes on a Mac

Enable auto-completion Upgrade bash, install autocompletion and enable them: https://medium.com/merapar/fixing-bash-autocompletion-on-macos-for-kubectl-and-kops-e87f019652e8 List all pod (sorted by node) kubectl get pods -o wide --sort-by="{.spec.nodeName}" --all-namespaces 

cheatsheet

nginx ingress controller errors

One more of those small things that can cost you hours to find again when you eventually need it.  502 – too big header If you get nginx 502 error pages when browsing one of Read more…

  • Embed React app in WordPress