Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3725

ATS's use of host files is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3.0, 6.0.0
    • 6.0.0
    • None
    • None

    Description

      The previous implementation actually loaded up the hosts file (in a background thread) and did a get (getbyname_imm) and then set the IPs to match. This works-- but does cause a problem since the port set on it is 0.

      What we need to do is have this thread maintain in an in-memory mapping of name -> ip and have it override resolution within hostdb, that way we can use host files and maintain whether reals are up or down.

      Attachments

        Issue Links

          Activity

            People

              jacksontj Thomas Jackson
              jacksontj Thomas Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: