SRV record lookup fails if DNS response exceeds 1024 characters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: 1.6.0
    • Component/s: None
    • None
    • Environment:
      Atlas sharded cluster, MongoDB 4.0.12
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When connecting to a sharded Atlas cluster with 6+ nodes, the PHP driver fails with:

      Invalid SRV answer for "_mongodb._tcp.<SRV_NAME>"
      

      The bug was reproduced in the C Driver and details can be found in CDRIVER-3388.

              Assignee:
              Andreas Braun
              Reporter:
              James Kovacs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: