You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/12/07 01:26:09 UTC

[jira] Commented: (TS-580) server fail assert when dns request does not match any rule from splitdns.config

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

Leif Hedstrom commented on TS-580:
----------------------------------

I can not duplicate this problem, that assert should never happen. I have a config like

dest_domain=yahoo.com named="192.168.201.1"
dest_domain=google.com named="192.168.201.16"



for all other domains, it falls back on the default resolver from resolv.conf. Do you not have such a default?

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