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

API to set IP address of origin server avoiding DNS lookup

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 2.1.9
    • TS API
    • None
    • Red Hat Enterprise Linux AS release 4 (Nahant Update 6) - x86_64

    Description

      Current TS lacks InkAPI to set IP address of the origin server which could avoid DNS lookup and hence makes it perform better in higher load. In our usecase, we make DNS query from a plugin for maintaining politeness, load-balancing, black-listing etc. So really speaking, we can avoid DNS query from within traffic server. Exposing such API would be a great help for us. We can see an InkAPI to get the IP though -

      inkapi INKReturnCode INKHostLookupResultIPGet(INKHostLookupResult lookup_result, unsigned int *ip);

      We want similar InkAPI to set it before DNS lookup stage in trafficserver and bypass the DNS lookup once set.

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            r_anirban Anirban Roy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: