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

        Noel J. Bergman created issue -
        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.
        Noel J. Bergman made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        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.
        Mark Thomas made changes -
        Workflow jira [ 27849 ] Default workflow, editable Closed status [ 12565835 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12565835 ] jira [ 12581244 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1m 56s 1 Noel J. Bergman 08/Apr/04 02:34

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development