Uploaded image for project: 'Eucalyptus'
  1. EUCA-1433

DNS Queries Not Working Correctly in Dynamic DNS enabled Eucalyptus Cloud

    Details

    • Benefit:
      Medium
    • Hypervisor:
      KVM
    • Network mode:
      Managed
    • Operating System:
      CentOS 6
    • Flagged:
      Customer Affecting
    • Epic Link:
    • Rank:
      0|i00s6n:
    • Feature Category:
      Resource Management: VM Network

      Description

      When a user logs into an instance that is running on a Eucalyptus Open Source
      2.0.3 Cloud (in Managed Mode), and they perform an DNS lookups on the public
      and private IP address, the result is inconsistent. Public IP address works
      with dig, but not nslookup. Private IP address does not work. Information
      about the cloud and instance is as follows:

        1. network information on Front-End ###

      VNET_MODE="MANAGED"

      VNET_SUBNET="10.7.0.0"

      VNET_NETMASK="255.255.0.0"

      VNET_DNS="8.8.8.8"

      VNET_ADDRSPERNET="16"

      VNET_PUBLICIPS="1xx.2xx.1xx.131-1xx.2xx.1xx.170"

      VNET_CLOUDIP="1xx.2xx.1xx.130"

      VNET_LOCALIP="1xx.2xx.1xx.130"

        1. WebUI Configuration for DNS ##

      Domain name: eucasys.com

      Nameserver: test.eucalyptus.com

      IP: 1xx.2xx.1xx.130

        1. resolv.conf information in instance ##

      root@ubuntu:~# cat /etc/resolv.conf

      nameserver 8.8.8.8

      nameserver 10.7.125.17

        1. Instance IP information ##

      root@ubuntu:~# ip addr show

      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN

      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

      inet 127.0.0.1/8 scope host lo

      inet6 ::1/128 scope host

      valid_lft forever preferred_lft forever

      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
      qlen 1000

      link/ether d0:0d:3f:00:07:1b brd ff:ff:ff:ff:ff:ff

      inet 10.7.124.242/28 brd 10.7.124.255 scope global eth0

      inet6 fe80::d20d:3fff:fe00:71b/64 scope link

      valid_lft forever preferred_lft forever

        1. Instance DNS Information (euca-describe-instances) ##

      public: euca-1xx-2xx-1xx-131.eucalyptus.eucasys.com

      private: euca-10-7-124-242.eucalyptus.internal

        1. nslookup tests ##

      root@ubuntu:~# nslookup euca-1xx-2xx-1xx-131.eucalyptus.eucasys.com

      Server: 8.8.8.8

      Address: 8.8.8.8#53

      Non-authoritative answer:

      Name: euca-1xx-2xx-1xx-131.eucalyptus.eucasys.com

      Address: 1xx.2xx.1xx.131

      root@ubuntu:~# nslookup euca-10-7-124-242.eucalyptus.internal

      Server: 8.8.8.8

      Address: 8.8.8.8#53

        • server can't find euca-10-7-124-242.eucalyptus.internal: NXDOMAIN
        1. nslookup tests against CLC ##

      root@ubuntu:~# nslookup euca-10-7-124-242.eucalyptus.internal 1xx.2xx.1xx.130

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.188.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; connection timed out; no servers could be reached

      root@ubuntu:~# nslookup euca-1xx-2xx-1xx-131.eucalyptus.eucasys.com
      1xx.2xx.1xx.130

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; connection timed out; no servers could be reached

        1. dig test (short) ##

      root@ubuntu:~# dig +short euca-173-205-188-131.eucalyptus.eucasys.com

      173.205.188.131

      root@ubuntu:~# dig +short euca-10-7-124-242.eucalyptus.internal

      root@ubuntu:~#

        1. dig test (verbose) ##

      root@ubuntu:~# dig @test.eucalyptus.com
      euca-1xx-2xx-1xx-131.eucalyptus.eucasys.com

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ; <<>> DiG 9.7.0-P1 <<>> @test.eucalyptus.com
      euca-1xx-2xx-1xx-131.eucalyptus.eucasys.com

      ; (1 server found)

      ;; global options: +cmd

      ;; connection timed out; no servers could be reached

      root@ubuntu:~# dig @test.eucalyptus.com euca-10-7-124-242.eucalyptus.internal

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ;; reply from unexpected source: 10.7.124.241#53, expected 1xx.2xx.1xx.130#53

      ; <<>> DiG 9.7.0-P1 <<>> @test.eucalyptus.com
      euca-10-7-124-242.eucalyptus.internal

      ; (1 server found)

      ;; global options: +cmd

      ;; connection timed out; no servers could be reached

      Please let me know if more information needs to be provided.

      Regards,


      Harold L Spencer, Jr.

      Technical Support Engineer

      Eucalyptus Systems,Inc.

      6755 Hollister Ave., Ste. 200 | Goleta, CA | 93117

      Office: 805-845-8000

      harold.spencer.jr@eucalyptus.com

        Lucidchart Diagrams

          Gliffy Diagrams

            Attachments

              Issue links

                Activity

                  People

                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    9 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: