Update macOS to 13.4, and—if any are installed—remove any add-on VPN apps.
Check for Wi-Fi router updates, too. (Are you using a Starlink-provided Wi-Fi router, or some other router?)
I’m here assuming the MacBook Pro is connecting to Wi-Fi, and is not wired to the Wi-Fi router.
DNS generally doesn’t come and go, it’ll usually show as a ~30 second delay or as an unavailable network connection for anything attempting a domain name translation. And most stuff does translate domain names. The following ping command does not translate names and does not use DNS. This ping command will check basic connectivity, and will run until ^C is (control C) is entered, or the Terminal.app window is closed.
Launch Terminal.app from Applications > Utilities, and enter the following:
ping -i 5 8.8.8.8
Every five seconds, that’ll check for connectivity to and from a Google server. That’s entirely independent of DNS, too. You’ll either get a response from the Google server and elapsed response time in milliseconds, or an error. Leave it run ing in the Terminal app window, and check back when there’s an outage. (Independent of the network connectivity check provided, I’m also mildly interested about the ping times achieved via Starlink, too.)
Also see if wireless diagnostics show any issues:
… If your Mac isn't connecting to the internet over Wi-Fi - Apple Support
PS: A Mac Pro is a very different computer from the MacBook Pro that you have here. mac Pro is a big computer.