[ 
https://issues.apache.org/jira/browse/TS-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Call reopened TS-703:
---------------------------

    Backport to Version: 3.3.0

When using the configuration option:
proxy.config.dns.search_default_domains 1
There can be problems with using localhost as the destination hostname in 
remap.  ATS will first start using the search domains and looks like it stops 
after 4 lookups and doesn't try to lookup "localhost".  This was also observed 
in YTS, however YTS doesn't lookup AAAA for the hostnames also.

Suggested changes:
1. set proxy.config.dns.search_default_domains to 0 by default

either one:
2a. special case localhost and having it resolve before appending the search 
domains

2b. always try to resolve the hostname before appending search domains

(my vote is for 2b.)

More testing should be done with different hostnames in the destination of the 
remap rule to see if there are other issues.
                
> cannot find server response 502 :( plz help me!!
> ------------------------------------------------
>
>                 Key: TS-703
>                 URL: https://issues.apache.org/jira/browse/TS-703
>             Project: Traffic Server
>          Issue Type: Test
>            Reporter: KenYun
>
> Finally, I installed ASF with a rpm vesrsion but I faced with the other 
> problem as you see just under.
> I will really appreciate if you could help me :)
> This just under is a message after I put ' curl -v http://localhost/ ' to 
> test if AFS works.
> ] curl -v http://localhost/
> .
> .
> .
> <!-- default "Cannnot find server." response (502) -->
> FYI,
> Of course I did following things,
> CONFIG proxy.config.proxy_name STRING kenyun
> CONFIG proxy.config.http.server_port INT 80
> map http://localhost:80/ http://localhost:8080/
> map http://kenyun:80/ http://localhost:8080/
> Listen 8080
> Plz tell me if I did something wrong here ㅠㅠ

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to