James Server
  1. James Server
  2. JAMES-249

getSMTPHostAddresses doesn't resolve when MX RHS is CNAME

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: DNSServer
    • Labels:
      None

      Description

      getSMTPHostAddresses uses direct DNS lookup for Type.A addresses, and does not resolving if a CNAME were used. This was a change in behavior from 2.2.0a15.

        Activity

        Hide
        Noel J. Bergman added a comment -

        Fixed in CVS by switching to using InetAddress to resolve addresses. This is the same mechanism that had been used before 2.2.0a16. This change continues to use the Iterator approach, and preserves support for multiple A records for a single host.

        Show
        Noel J. Bergman added a comment - Fixed in CVS by switching to using InetAddress to resolve addresses. This is the same mechanism that had been used before 2.2.0a16. This change continues to use the Iterator approach, and preserves support for multiple A records for a single host.
        Hide
        Noel J. Bergman added a comment -

        Changed InetAddress to org.xbill.DNS.Address, in response to Soren Hilmer pointing out that InetAddress has TTL cache problems.

        Show
        Noel J. Bergman added a comment - Changed InetAddress to org.xbill.DNS.Address, in response to Soren Hilmer pointing out that InetAddress has TTL cache problems.

          People

          • Assignee:
            Unassigned
            Reporter:
            Noel J. Bergman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development