[ 
https://issues.apache.org/jira/browse/TS-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088851#comment-15088851
 ] 

Kalin Krastanov commented on TS-4116:
-------------------------------------

This is from working installation and there are no errors in the config, 

proxy.config.http.use_client_target_addr INT 1
proxy.config.http.use_client_source_port INT 1
proxy.config.http.server_ports STRING 3128:ip-in=127.0.0.1 
8081:ip-in=127.0.0.1:tr-full:tr-pass

When proxy.config.http.use_client_target_addr is 1 in transparent mode ATS does 
DNS resolution to validate the client target address. In case the client target 
address is not in the IP pool for the domain name the address is considered 
invalid and the content is not stored in cache. See TS-2954 which added this 
behaviour.

So the client target address is used, but storing the content in the cache 
depends on if the supplied IP is valid.

Being unable to resolve the OS host name must be considered as if the client 
target address is not valid, i.e. content must not be stored in the cache. 
However instead we get 502 result.

> DNS failure prohibits use of client target address
> --------------------------------------------------
>
>                 Key: TS-4116
>                 URL: https://issues.apache.org/jira/browse/TS-4116
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 5.3.2
>            Reporter: Kalin Krastanov
>
> When ATS is set up to use client target address in transparent mode and there 
> is DNS error (i.e. the OS name is resolvable only on the client machine) 502 
> error is returned instead of using the client target address.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to