DNSProtocolError: Invalid SRV answer

I have an issue connecting to mflix while trying to connect using mongo shell, this is what I get when I run the command:
mongo “mongodb+srv://m220student:m220password@mflix-dslw5.mongodb.net/test?retryWrites=true”

DNSProtocolError: Invalid SRV answer for “mflix-dslw5.mongodb.net

I am able to connect with your command
May be short string not working for you

Please try this: From our forums
mongo “mongodb://mflix-shard-00-00-dslw5.mongodb.net:27017,mflix-shard-00-01-dslw5.mongodb.net:27017,mflix-shard-00-02-dslw5.mongodb.net:27017/test?replicaSet=mflix-shard-0” --ssl --authenticationDatabase admin --username m220student --password m220password
MongoDB Enterprise mflix-shard-0:PRIMARY> db

@Ryan_66024, SRV is new in 3.6. Check the version of your shell. If older than 3.6 update to a more recent version.