Could be a DNS issue or an issue with your internet provider. Most people use a 3rd party DNS over the one provided by their internet provider. Mainly because, I'll speed up the amount of time it takes to resolve a domain name. Sometimes provides better ping and prevents data from being collected. Cloudfare and Quad9 both don't collect private data, unlike your internet provider. Search them up on google for more info and how to change your dns