Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-580

server fail assert when dns request does not match any rule from splitdns.config

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.1.5
    • Component/s: DNS
    • Labels:
      None
    • Environment:

      ts 2.1.4 or svn trunk

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              zwoop Leif Hedstrom
              Reporter:
              zym Zhao Yongming
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: