Designate is a DNS-as-a-Service (DNSaaS) project within the OpenStack community. In this tutorial, we will guide you through the installation of Designate on Ubuntu Server Latest.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg-dev
sudo apt-get install mysql-server python-mysqldb
sudo apt-get install rabbitmq-server
sudo rabbitmqctl add_user designate designate
sudo rabbitmqctl set_permissions -p / designate ".*" ".*" ".*"
sudo groupadd designate
sudo useradd -g designate designate
mkdir ~/designate
cd ~/designate
git clone https://github.com/openstack/designate.git
cd designate
sudo pip install -r requirements.txt
sudo python setup.py install
sudo mkdir /etc/designate/
sudo cp etc/designate/designate.conf.sample /etc/designate/designate.conf
sudo chown designate:designate /etc/designate/designate.conf
sudo nano /etc/designate/designate.conf
And make the following changes:
[service:api]
# ...
auth_strategy = keystone
# ...
api_host = 0.0.0.0
api_port = 9001
[keystone_authtoken]
# ...
auth_uri = http://<Keystone IP>:5000
auth_url = http://<Keystone IP>:35357
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = designate
password = <Designate User PASSWORD>
sudo mysql -u root -p
CREATE DATABASE designate;
GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' IDENTIFIED BY '<Database password>';
GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'%' IDENTIFIED BY '<Database password>';
exit
sudo designate-manage database init
sudo service designate-central start
sudo service designate-api start
sudo service designate-pool-manager start
sudo service designate-mdns start
sudo service designate-central status
sudo service designate-api status
sudo service designate-pool-manager status
sudo service designate-mdns status
Congratulations! You have successfully installed Designate on Ubuntu Server Latest. You can now use it to manage DNS zones and records.
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!