I’d like to confirm if it’s really a DNS issue. Can you try switching to seedlist URI and see if it works?
In the connection URI dialog in Atlas, change the driver to an older version to get the seed list URI and try using that in your Symfony application.
