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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.4
    • 2.1.5
    • DNS
    • None
    • 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

        1. TS-580.patch
          3 kB
          qianshi
        2. 0001-TS-580-fix-the-assert-introduced-last-day.patch
          2 kB
          Zhao Yongming

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: