Applies To: CLOUD IAAS
Designate is a multi-tenant DNSaaS service for OpenStack. It provides a REST API with integrated Keystone authentication. It can be configured to auto-generate records based on Nova and Neutron actions. Designate supports a variety of DNS servers including Bind9 and PowerDNS 4.
To get started navigate to "Project > DNS > Zones"
We will demonstrate with a zone called "example.com". To create a zone click on the "Create Zone" button and put the below information. (Note there is a "." in the end of the name):
- Name: example.com.
- Email Address: <your email address> e.g. email@example.com
After that we will see that we the zone has been created and it's in pending status. Wait some seconds and refresh the page again. You should see it's active now.
Then we will create a test record. Navigate to "Project > Dns > Zones"
We will demonstrate a record called "" that will match an IP address (eg. one of our OpenStack instances). To create a record click on the "Create Record Set" of your zone you created with the below information:
- Type: A- Address record
- Name: www.example.com.
- Record: 192.168.20.20 (IP address)
To view the records you created go to Project > DNS > Zones > "Your zone" > Record Sets
You should see the below two name servers along with the A record:
Verifying with "dig" using the provided Memset OpenStack name-servers above.
Please Note: It will take approximately 30-60 minutes for the DNS Records to propagate the information to the Memset OpenStack DNS Servers.
dig www.example.com @ns-0.openstack.memset.com ; <<>> DiG 9.10.6 <<>> www.example.com @ns-0.openstack.memset.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55503 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;www.example.com. IN A ;; ANSWER SECTION: www.example.com. 3600 IN A 192.168.20.20 ;; AUTHORITY SECTION: example.com. 3600 IN NS ns-1.openstack.memset.com. example.com. 3600 IN NS ns-0.openstack.memset.com. ;; Query time: 52 msec ;; SERVER: 126.96.36.199#53(188.8.131.52) ;; WHEN: Wed Feb 26 15:47:22 GMT 2020 ;; MSG SIZE rcvd: 115
In case you want to use the OpenStack Nameservers for a Domain purchased with Memset you can modify that via the OpenSRS interface of your Domain, more information can be found here.