How to Install Designate on Fedora Server Latest

Designate is an OpenStack service that provides DNSaaS services to users. This tutorial will show you how to install Designate on Fedora Server Latest.

Prerequisites

Before we start, ensure that you have the following:

Step 1: Install Designate Dependencies

The first step is to install Designate's dependencies. Execute the following command in your terminal:

$ sudo dnf install git python-pip python2-devel

Step 2: Install Designate

  1. Clone Designate's source code:
$ git clone https://github.com/openstack/designate.git
  1. Change the directory to the Designate source code directory:
$ cd designate
  1. Install Designate:
$ sudo pip install .
  1. Install the designate-rootwrap package:
$ sudo pip install designate-rootwrap
  1. Copy the rootwrap configuration file:
$ sudo cp etc/designate/rootwrap.conf.sample /etc/designate/rootwrap.conf
  1. Create the Designate configuration directory:
$ sudo mkdir /etc/designate
  1. Copy the sample configuration file to the configuration directory:
$ sudo cp etc/designate/designate.conf.sample /etc/designate/designate.conf

Step 3: Configure Designate

  1. Edit the designate.conf file:
$ sudo vi /etc/designate/designate.conf
  1. Configure the following sections in the designate.conf file:
verbose = true
debug = false
log_config_append = /etc/designate/logging.conf
auth_uri = http://your_keystone_ip:5000
auth_url = http://your_keystone_ip:35357
auth_type = password
username = designate
password = your_keystone_password
project_name = service
user_domain_name = Default
project_domain_name = Default
connection = mysql+pymysql://designate:your_database_password@<HOSTNAME>/designate?charset=utf8mb4

Replace with your database hostname.

auth_strategy = keystone
enabled_extensions_v1_1 = quotas, reports, sync
auth_strategy = keystone
enabled_dns_backends = bind9

Note: You can add other enabled_dns_backends such as powerdns, knotdns or akamai.

Step 4: Create Designate Database Schema

  1. Run the following command to create Designate's database schema:
$ sudo designate-manage database sync

Step 5: Start Designate Services

  1. Start Designate's api and central services:
$ sudo systemctl start designate-api.service designate-central.service
  1. Verify that Designate's services are running:
$ sudo systemctl status designate-api.service designate-central.service

Step 6: Verify Designate Installation

  1. You can list Designate's services using the following command:
$ sudo designate-manage service list
  1. You can also verify that Designate is working by creating a zone:
$ sudo designate zone-create --name example.com. --email admin@example.com.
  1. Verify that the zone has been created by listing all available zones:
$ sudo designate zone-list

Conclusion

You have now successfully installed Designate on Fedora Server Latest. You can now start using it to provide DNSaaS services to your users.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!