title: DNSHostNotFound: Failed to look up service "":DNS name does not exist. try
body: <blockquote>
    <p>DNSHostNotFound: Failed to look up service "":DNS name does not exist. try 'C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe --help' for more information</p>
  </blockquote>
  
  <p>I am getting this error while coonecting with Sandbox to mongo shell.</p>
  
  <pre><code>PS C:\Users\hp&gt; mongo -version
  MongoDB shell version v4.2.7
  git version: 51d9fe12b5d19720e72dcd7db0f2f17dd9a19212
  allocator: tcmalloc
  modules: enterprise
  build environment:
      distmod: windows-64
      distarch: x86_64
      target_arch: x86_64
  </code></pre>
  
  <p>What is the error? I am not able to understand.</p>