API to set IP address of origin server avoiding DNS lookup
----------------------------------------------------------

                 Key: TS-404
                 URL: https://issues.apache.org/jira/browse/TS-404
             Project: Traffic Server
          Issue Type: Improvement
          Components: InkAPI
    Affects Versions: 2.1.1
         Environment: Red Hat Enterprise Linux AS release 4 (Nahant Update 6) - 
x86_64
            Reporter: Anirban Roy


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to