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

Zhao Yongming commented on TS-580:
----------------------------------

after deep debug, I have find out that the assert is caused by a invalid PTR 
request, and I still have no idea why I get this invalid PTR request.

[Dec  7 22:14:08.308] Server {47332150290192} DEBUG: (hostdb) probe 127.0.0.1 
F9D5E018CA21DEE0 1 [ignore_timeout = 0]
[Dec  7 22:14:08.308] Server {47332150290192} DEBUG: (hostdb) immediate answer 
for 127.0.0.1
[Dec  7 22:14:08.308] Server {47332150290192} DEBUG: (hostdb) probe (null) 
AA30DE0F80A82135 0 [ignore_timeout = 0]
[Dec  7 22:14:08.309] Server {47332150290192} DEBUG: (hostdb) delaying force 0 
answer for (null)
[Dec  7 22:14:08.309] Server {47332167898896} DEBUG: (hostdb) probe  
AA30DE0F80A82135 0 [ignore_timeout = 0]
[Dec  7 22:14:08.309] Server {47332167898896} DEBUG: (hostdb) DNS IP 127.0.0.1
[Dec  7 22:14:08.309] Server {47332167898896} DEBUG: (dns) received query  
type = 12, timeout = 0
FATAL: DNS.cc:262: failed assert `dnsH`
/usr/bin/traffic_server - STACK TRACE: 
/usr/bin/traffic_server(ink_fatal_va+0xab)[0x6bda1b]

you can make simple invalid request if you enable http_ui by query : 
http://localhost/hostdb/ip?ip=1
that will trigger the assert

> server fail assert when dns request does not match any rule from 
> splitdns.config
> --------------------------------------------------------------------------------
>
>                 Key: TS-580
>                 URL: https://issues.apache.org/jira/browse/TS-580
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: DNS
>    Affects Versions: 2.1.4
>         Environment: ts 2.1.4 or svn trunk
>            Reporter: Zhao Yongming
>         Attachments: TS-580.patch
>
>
> here is my splitdns.config:
> dest_domain=zymlinux.net named="216.69.185.26;208.109.255.26"
> dest_domain=zymlinux.info named="216.69.185.26;208.109.255.26"
> dest_domain=img01.taobaocdn.com named="127.0.0.1"
> dest_domain=!zymlinux.net named="127.0.0.1"
> here is my remap.config:
> map http://cdn.zymlinux.net/_sp_cache-internal http://{cache-internal}
> map http://cdn.zymlinux.net/_sp_cache http://{cache}
> map http://cdn.zymlinux.net/_sp_stat http://{stat}
> map http://cdn.zymlinux.net/_sp_test http://{test}
> map http://cdn.zymlinux.net/_sp_hostdb http://{hostdb}
> map http://cdn.zymlinux.net/_sp_net http://{net}
> map http://cdn.zymlinux.net/_sp_http/ http://{http}/
> map http://cdn.zymlinux.net/ http://source.zymlinux.net/
> map http://cdn.zymlinux.info/ http://zymlinux.info/source
> map http://ddn.zymlinux.net/ http://img01.taobaocdn.com/source
> map http://img02.taobaocdn.com/ http://img02.taobaocdn.com/
> here is the traffic.out:
> http://pastebin.com/NPBz5Pnh
> server will assert just after cache enabled, when doing dns query with 
> 127.0.0.1 for PTR

-- 
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