CloudStack
  1. CloudStack
  2. CLOUDSTACK-282

Virtual Routers do not properly resolve DNS SRV Records

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: pre-4.0.0
    • Fix Version/s: 4.2.0
    • Component/s: Network Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      Cloudstack 3.02 Management Server on Centos 6.2, Xenserver 6.02 Hosts

      Description

      When using SNAT Networking, I have a VM with a Static NAT IP Assinged in Cloudstack. The Centos 6.2 VM has dhcp defined as the network protocol, and gets a private network IP, and a Static NAT Public IP. /etc/resolv.conf on the guest VM gets written out by dhclient, and has one nameserver defined: 10.1.1.1, which is the virtual router for the guest network. If doing a DIG lookup of a SRV record in the form:

      1. dig _sip._tcp.voipstack.net SRV

      ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.4 <<>> _sip._tcp.voipstack.net SRV
      ;; global options: +cmd
      ;; Got answer:
      ;; >>HEADER<< opcode: QUERY, status: NOERROR, id: 576
      ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

      ;; QUESTION SECTION:
      ;_sip._tcp.voipstack.net. IN SRV

      ;; Query time: 1 msec
      ;; SERVER: 10.1.1.1#53(10.1.1.1)
      ;; WHEN: Sun Oct 7 13:40:43 2012
      ;; MSG SIZE rcvd: 41

      Nothing is returned.

      If I manually edit /etc/resolv.conf, and add: nameserver 8.8.8.8, and do the same query, I get:

      1. dig _sip._tcp.voipstack.net SRV

      ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.4 <<>> _sip._tcp.voipstack.net SRV
      ;; global options: +cmd
      ;; Got answer:
      ;; >>HEADER<< opcode: QUERY, status: NOERROR, id: 42375
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

      ;; QUESTION SECTION:
      ;_sip._tcp.voipstack.net. IN SRV

      ;; ANSWER SECTION:
      _sip._tcp.voipstack.net. 1606 IN SRV 1 9 5060 as2.voipstack.net.
      _sip._tcp.voipstack.net. 1606 IN SRV 0 9 5060 as1.voipstack.net.

      ;; Query time: 36 msec
      ;; SERVER: 8.8.8.8#53(8.8.8.8)
      ;; WHEN: Sun Oct 7 13:33:39 2012
      ;; MSG SIZE rcvd: 115

      The virtual router should resolve all valid DNS record types

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          295d 16h 21m 1 Prasanna Santhanam 30/Jul/13 12:20
          Resolved Resolved Closed Closed
          16d 8h 33m 1 Sudha Ponnaganti 15/Aug/13 20:53
          Sudha Ponnaganti made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Sudha Ponnaganti added a comment -

          closing this as duplicate

          Show
          Sudha Ponnaganti added a comment - closing this as duplicate
          Prasanna Santhanam made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Hide
          Prasanna Santhanam added a comment -

          Tracking CLOUDSTACK-2224.

          Show
          Prasanna Santhanam added a comment - Tracking CLOUDSTACK-2224 .
          Adrian Lewis made changes -
          Comment [ Setting this as a duplicate of CLOUDSTACK-2224 as there seems to be more discussion on that issue despite this being the first report chronologically. Hope this is the right thing to do. ]
          Adrian Lewis made changes -
          Link This issue duplicates CLOUDSTACK-2224 [ CLOUDSTACK-2224 ]
          Hide
          Adrian Lewis added a comment -

          Same root problem as CLOUDSTACK-2224

          Show
          Adrian Lewis added a comment - Same root problem as CLOUDSTACK-2224
          Chip Childers made changes -
          Fix Version/s 4.1.0 [ 12323253 ]
          Fix Version/s 4.2.0 [ 12323906 ]
          Alex Huang made changes -
          Field Original Value New Value
          Fix Version/s 4.1.0 [ 12323253 ]
          Nik Martin created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Nik Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development