On the free plan, outbound access to certain domains is restricted, and script.google.com is one of them. That’s why it fails to resolve while other Google domains work fine. This is a platform-level restriction and we’re not able to lift it for individual free accounts.
If your app depends on Google Apps Script, you’d need a premium hosting plan where these restrictions don’t apply. Alternatively, you may be able to use the official Google APIs (like the Sheets or Drive API via googleapis.com) instead of an Apps Script web app endpoint.