M5 Networking Issues
I’ve been having a strange issue with my new M5 MacBook Pro and GitHub: at random intervals, my MacBook cannot connect to GitHub. Well, that’s not strictly true: Safari can’t connect to GitHub, Git Tower can’t push or pull, but Chrome has no issues.
Using dns-sd -G v4 github.com to see what’s happening over time:
| Timestamp | A/R | Flags | IF | Hostname | Address | TTL | Note |
|---|---|---|---|---|---|---|---|
| 19:46:30.769 | Add | 2 | 0 | github.com. | 20.205.243.166 | 15 | |
| 19:55:16.874 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 19:55:16.885 | Add | 2 | 0 | github.com. | 20.205.243.166 | 63 | |
| 20:01:42.237 | Add | 2 | 0 | github.com. | 0.0.0.0 | 77 | No Such Record |
| 20:01:48.800 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 20:10:18.607 | Add | 2 | 0 | github.com. | 20.205.243.166 | 60 | |
| 20:21:43.313 | Add | 2 | 0 | github.com. | 0.0.0.0 | 77 | No Such Record |
| 20:21:49.456 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 20:21:49.508 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 20:22:57.954 | Add | 2 | 0 | github.com. | 20.205.243.166 | 24 | |
| 20:23:50.255 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 20:23:50.267 | Add | 2 | 0 | github.com. | 20.205.243.166 | 60 | |
| 20:29:05.686 | Add | 2 | 0 | github.com. | 0.0.0.0 | 77 | No Such Record |
| 20:29:13.694 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 20:29:13.705 | Add | 2 | 0 | github.com. | 20.205.243.166 | 68 | |
| 20:37:31.780 | Rmv | 1 | 0 | github.com. | 20.205.243.166 | 0 | |
| 20:37:31.780 | Add | 2 | 0 | github.com. | 0.0.0.0 | 60 | No Such Record |
During those No Such Record periods, GitHub just refused to work in Safari or Git Tower.
I switched from Cloudflare’s 1.1.1.1 service to Quad9, and ever since I’ve had no issues.
| Timestamp | A/R | Flags | IF | Hostname | Address | TTL | Note |
|---|---|---|---|---|---|---|---|
| 20:37:45.321 | Add | 2 | 0 | github.com. | 20.205.243.166 | 65 | |
| 21:13:26.595 | Rmv | 0 | 0 | github.com. | 20.205.243.166 | 0 | |
| 21:13:26.603 | Add | 2 | 0 | github.com. | 20.205.243.166 | 15 |
This wasn’t a problem on my M3-series MacBook. I can only assume it’s a problem with the M5 and its new networking stack.