ENOTFOUND error connecting with MongoDB Compass

Hello Team,

we are connecting to Mongo using Mongo compass.


We are getting error:
getaddrinfo ENOTFOUND rh-hadoop-07.mtg.local

All the IPs are on DNS.

Kindly advise

Since your DNS error is with

your problem lies somewhere else and it is not related to the URI of your cluster.