s0pegw
Last Updated: February 25, 2016
·
856
· lukasz-madon
B2bc42f69510d6a1d2c9cde1c2214d24

Could not resolve hostname

I have a new MacBook Pro with Maverick. I wanted to push the changes to github, but on git push origin master I got an error Could not resolve hostname github.com: nodename nor servname provide

I tried to ping a domain - nothing happens. I tried to bounced DNS

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

and other tips. Still Nothing. Turning WIFI off and on again helped

I think it started when I migrated a new model with Alembic. Postgres transaction hang. Not sure if migration caused that or DNS couldn't resolve postgres URI and hence the problem.

Say Thanks
Respond