AgeOfStereo It's not a new problem, and it's not related to GrapheneOS, it's a base Android thing. I remember having the same issue already years ago, during the Android 10 age.
Like others have said, use the private DNS feature.
By using private DNS, you have other advantages compared to entering the IP address manually, for example, encrypted DNS requests (if the provider supports it).