d9b6be5bad
Change-Id: Ie826e2c7b099d4dec5b778b1267f7b5c5a0a6bba
47 lines
1.1 KiB
ReStructuredText
47 lines
1.1 KiB
ReStructuredText
:title: DNS
|
|
|
|
.. _dns:
|
|
|
|
DNS
|
|
###
|
|
|
|
The project runs authoritative DNS servers for any constituent
|
|
projects that wish to use them. The servers run NSD.
|
|
|
|
At a Glance
|
|
===========
|
|
|
|
:Hosts:
|
|
* ns1.openstack.org
|
|
* ns2.openstack.org
|
|
* ns1.opendev.org
|
|
* ns2.opendev.org
|
|
:Puppet:
|
|
* :cgit_file:`manifests/site.pp`
|
|
:Projects:
|
|
* https://github.com/icann-dns/puppet-nsd
|
|
* https://www.nlnetlabs.nl/projects/nsd/
|
|
|
|
Adding a Zone
|
|
=============
|
|
|
|
To add a new zone, add an entry to :cgit_file:`manifests/site.pp`,
|
|
:cgit_file:`modules/openstack_project/manifests/master_nameserver.pp` and
|
|
create a new git repository to hold the contents of the zone.
|
|
|
|
Run::
|
|
|
|
dnssec-keygen -a RSASHA256 -b 2048 -3 example.net
|
|
dnssec-keygen -a RSASHA256 -b 2048 -3 -fk example.net
|
|
|
|
And add the resulting files to the `dnssec_keys` key in the
|
|
`group/adns.yaml` private hiera file on puppetmaster.
|
|
|
|
If you need to generate DS records for the registrar, identify which
|
|
of the just-created key files is the key-signing key (examine the
|
|
contents of the files and read the comments therein). Then run::
|
|
|
|
dnssec-dsfromkey -2 $KEYFILE
|
|
|
|
.. note:: This section will be expanded.
|