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: Resolved
    • 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

        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.
        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.
        Show
        Leif Hedstrom added a comment - Moving to 4.2.0 as per https://cwiki.apache.org/confluence/display/TS/New+Release+Processes
        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?
        Hide
        Leif Hedstrom added a comment -

        No objections, so closing.

        Show
        Leif Hedstrom added a comment - No objections, so closing.

          People

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

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development