[ https://issues.apache.org/jira/browse/TS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-404. ------------------------------ Resolution: Fixed > 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: TS API > Affects Versions: 2.1.1 > Environment: Red Hat Enterprise Linux AS release 4 (Nahant Update 6) > - x86_64 > Reporter: Anirban Roy > Assignee: Leif Hedstrom > Fix For: 2.1.9 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira