Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This last week or so I have experienced problems being able to load github.com yet it loads fine on my phone, my Win7 laptop which are all connected over the same network. It wont work again until I restart my Mac Mini.

Chrome reports

The server at github.com can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address

Same applies to Safari and Firefox. I also tried Pinging github.com and it never manges to resolve to an ip.

ping: cannot resolve github.com: Unknown host

To further complicate things dig github.com succeeds:

; <<>> DiG 9.8.3-P1 <<>> github.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6490 ;; flags: qr; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION: ;github.com. IN A

;; ANSWER SECTION: github.com. 121 IN A 204.232.175.90

In Chrome I then tried to go to https://204.232.175.90 and it worked! And to top it off if I try going to github.com it works after doing this. Although this only works for so long before I have to do it again or restart my mac.

share|improve this question
    
What's your DNS settings look like? –  Undo the Snowman Jun 20 '13 at 21:31

1 Answer 1

up vote 0 down vote accepted

Sounds like a DNS problem to me - check your DNS settings in System Preferences: Network > Wi-Fi (or whatever connection method you're using) > Advanced > DNS

Try setting the DNS Servers (left pane) to 8.8.8.8 and 8.8.4.4 (Google's DNS servers).

share|improve this answer
    
Seemed to do the trick! Thanks –  Jaaaaaay Jun 21 '13 at 12:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.