You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

github ip resolution error

i am a developer ,i found that i cannot connect to. github ,it never happened even the last second ,the problem is that i never changed anything.then i tried to ping github,it turns out that the ip was wrong ,then i switched to my hotspot the ip resolution was corrected,i tried a lot dealing with the dns resolution,but cannot find the problem

MacBook Pro 13″

Posted on Nov 17, 2024 6:58 AM

Reply
9 replies

Nov 17, 2024 8:09 AM in response to FallWithWind

Have you checked your hosts file to see if GitHub.com somehow became entered in it? If so, remove that and try again.


/etc/hosts


Another thing to check is what DNS server you are using. Perhaps try changing that to be assigned by DHCP.

If it already is, try manually entering it.

DHCP Servers:

8.8.8.8

1.1.1.1

Those are Google and Cloudfare respectively.




Nov 20, 2024 8:48 AM in response to FallWithWind

FallWithWind wrote:

Honestly ,I am using proxies due to the dns pollution , (the special circumstances of my nearby network),maybe that is the problem,but if the proxy is dead, most of the website can not be connected,the problem is that most website can be visited except GitHub,so it is weird ,and It never happened before .

A fair percentage of all problems on macOS, going back many years, can be summarized as follows:


I was doing something really crazy for years. Then <insert new macOS version here> came along and broke it!


Fix this Apple!!!!!

github ip resolution error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.