Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-672

DNSServer does not properly cache MX lookups for CNAMEd domains

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 3.0.0
    • Component/s: DNSServer
    • Labels:
      None

      Description

      James dns server does not properly cache results when a CNAME is used for the domain (RFC-2821 sections 3.6 and 5)

      zone:


      mail.domain.com. IN CNAME domain.com
      domain.com. IN MX 0 mx0.domain.com
      mx0.domain.com. IN A XXX.XXX.XXX.XXX


      lookup MX addresses for "mail.domain.com" multiple times will result always in real lookup because "cache.isSuccesfull" return false when the result is a CNAME.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bago Stefano Bagnara
                Reporter:
                bago Stefano Bagnara
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: