Github.com times out on M1 Mac but other devices are okay
Recently I have been unable to load GitHub.com on my M1 Mac mini.
All other devices on my network can access without issue.
When trying to access from Safari or any other browser such as Chrome or Firefox it just hangs in loading.
If I try a curl from the terminal such as installing Homebrew, I get a 'could not resolve host' error...
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl: (6) Could not resolve host: raw.githubusercontent.com
However, if I connect to a VPN, it loads fine.
I tried deleting the DNS servers in the Network settings (I read somewhere this might help) but it didn't change anything.
I checked for Proxies and nothing is checked and there is nothing in the Bypass field.
I'm at a loss here. Can anyone suggest something I need to check?