Skip to main content
Version: 3.0

How to create an A record using DNSaaS

Designate is a multi-tenant DNS-as-a-Service (DNSaaS) component in CubeCOS. It provides a REST API secured by Keystone authentication and integrates with Nova and Neutron. Designate supports various DNS backends, including Bind9 and PowerDNS 4.

Setting the DNS of Network​

  1. Navigate to Network > Networks, click on the Network ID from the list of your Networks.

    /assets/dns/dns-1.png

  2. Select Subnets on the banner. Then click Edit on the desired subnet.

    /assets/dns/dns-2.png

  3. Input Controller VIP as value at in DNS section.

    /assets/dns/dns-3.png

Create DNS Zone​

  1. Navigate to Project > Networks > DNS Zones > + Create Zone.

    /assets/dns/dns-4.png

  2. Create zone with a preferred/registered domain name.

    /assets/dns/dns-5.png

Create Record Set​

  1. Hover to More, then click Create Record Set at the drop down menu to DNS Zone just created.

    /assets/dns/dns-6.png

  2. Add an A Record with the IP address of your Virtual Machine.

    Here is a list of the supported records:

    • A - IPv4 Address Record
    • AAAA - IPv6 Address Record
    • CAA - Certificate Authority Authorization Record
    • CNAME - Canonical Name Record
    • MX - Mail Exchange Record
    • NS - Name Server
    • PTR - Pointer Record
    • SOA - Start Of Authority

    /assets/dns/dns-7.png

  3. Verify record set creation by click the ID of the Zone again.

    /assets/dns/dns-8.png

  4. Select Record Sets on the banner to review the change done.

    /assets/dns/dns-9.png

Test the DNS​

  • Navigate to your virtual machine console and nslookup www.bigstack.co
  • Alternatively, you can change your compute DNS and try it out
   [root@test-dns ~]# nslookup www.bigstack.co 10.32.31.10
Server: 10.32.31.10
Address: 10.32.31.10#53

Name: www.bigstack.co
Address: 10.32.50.176