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 References:

Kubernetes on a Mac

Enable auto-completion Upgrade bash, install autocompletion and enable them: 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