Prerequisites

Prerequisites

Before you install and configure the DNS service, you must create service credentials and API endpoints.

  1. Source the admin credentials to gain access to admin-only CLI commands:

    $ source admin-openrc
    
  2. To create the service credentials, complete these steps:

    • Create the designate user:

      $ openstack user create --domain default --password-prompt designate
      
    • Add the admin role to the designate user:

      $ openstack role add --project service --user designate admin
      
    • Create the designate service entities:

      $ openstack service create --name designate --description "DNS" dns
      
  3. Create the DNS service API endpoint:

    $ openstack endpoint create --region RegionOne \
      dns public http://controller:9001/
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.