Traffic Server
  1. Traffic Server
  2. TS-952

when turn off config.proxy.hostdb, ts just reponse a 502 page.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: DNS, HTTP
    • Labels:
      None
    • Environment:

      all.

      Description

      If turn config.proxy.hostdb off, ts does not do the dns query but just return a 502 page.

        Activity

        weijin created issue -
        Leif Hedstrom made changes -
        Field Original Value New Value
        Fix Version/s 3.1.1 [ 12316496 ]
        Hide
        Leif Hedstrom added a comment -

        Hmmm, i think this is "by design" at this point :-/. I'm going to move this out to v3.3.0 for now, if someone else wish to work on this (I think it'd require some major re-factoring of the code), please feel to re-prioritize.

        Show
        Leif Hedstrom added a comment - Hmmm, i think this is "by design" at this point :-/. I'm going to move this out to v3.3.0 for now, if someone else wish to work on this (I think it'd require some major re-factoring of the code), please feel to re-prioritize.
        Leif Hedstrom made changes -
        Fix Version/s 3.3.0 [ 12316495 ]
        Fix Version/s 3.1.1 [ 12316496 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.1 [ 12321686 ]
        Fix Version/s 3.3.0 [ 12316495 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.2 [ 12321745 ]
        Fix Version/s 3.3.1 [ 12321686 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.3 [ 12322479 ]
        Fix Version/s 3.3.2 [ 12321745 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.4 [ 12323545 ]
        Fix Version/s 3.3.3 [ 12322479 ]
        Hide
        James Peach added a comment -

        What ought to happen here? Remove the proxy.config.hostdb option?

        Show
        James Peach added a comment - What ought to happen here? Remove the proxy.config.hostdb option?
        Hide
        Leif Hedstrom added a comment -

        Maybe there's a use case where in transparent proxy, with certain configs, the UA (browser) actually does the DNS lookup? I can't see this being useful to disable though with forward or reverse proxy.

        Show
        Leif Hedstrom added a comment - Maybe there's a use case where in transparent proxy, with certain configs, the UA (browser) actually does the DNS lookup? I can't see this being useful to disable though with forward or reverse proxy.
        Hide
        Leif Hedstrom added a comment -

        Also, looking at the code, the intent was probably to do a DNS lookup on every request (perhaps a local, caching resolver). So this does indeed seem like a valid bug, although not sure how usable it would be.

        Show
        Leif Hedstrom added a comment - Also, looking at the code, the intent was probably to do a DNS lookup on every request (perhaps a local, caching resolver). So this does indeed seem like a valid bug, although not sure how usable it would be.
        Leif Hedstrom made changes -
        Fix Version/s 3.3.5 [ 12324316 ]
        Fix Version/s 3.3.4 [ 12323545 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.6 [ 12324599 ]
        Fix Version/s 3.3.5 [ 12324316 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.5.0 [ 12324125 ]
        Fix Version/s 3.3.6 [ 12324599 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.5.1 [ 12324126 ]
        Fix Version/s 3.5.0 [ 12324125 ]
        Show
        Leif Hedstrom added a comment - Moving to 4.2.0 as per https://cwiki.apache.org/confluence/display/TS/New+Release+Processes
        Leif Hedstrom made changes -
        Fix Version/s 4.2.0 [ 12324892 ]
        Fix Version/s 3.5.1 [ 12324126 ]
        Leif Hedstrom made changes -
        Fix Version/s 5.0.0 [ 12324893 ]
        Fix Version/s 4.2.0 [ 12324892 ]
        Hide
        Leif Hedstrom added a comment -

        I'm thinking we should close this as Won't Fix, in favor of upcoming refactoring of HostDB. Any objections?

        Show
        Leif Hedstrom added a comment - I'm thinking we should close this as Won't Fix, in favor of upcoming refactoring of HostDB. Any objections?
        Leif Hedstrom made changes -
        Assignee Leif Hedstrom [ zwoop ]
        Leif Hedstrom made changes -
        Fix Version/s sometime [ 12316277 ]
        Fix Version/s 5.0.0 [ 12324893 ]
        Hide
        Leif Hedstrom added a comment -

        No objections, so closing.

        Show
        Leif Hedstrom added a comment - No objections, so closing.
        Leif Hedstrom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s sometime [ 12316277 ]
        Resolution Won't Fix [ 2 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        858d 10h 32m 1 Leif Hedstrom 19/Jan/14 16:36
        Resolved Resolved Closed Closed
        332d 12h 26m 1 Leif Hedstrom 18/Dec/14 05:03

          People

          • Assignee:
            Leif Hedstrom
            Reporter:
            weijin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development