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 the VPC. DNS Server 169.254.169.253 References: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html

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 

DNS on Mac

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