Product SiteDocumentation Site

8.5. Adding DNS Zones

8.5.1. Adding DNS Zones from the Web UI

  1. Open the Identity tab, and select the DNS subtab.
  2. Click the Add link at the top of the list of DNS zones.
  3. Fill in the information about the new DNS zone. The Zone Name is required; this is the actual domain name. The other information about the administrator email and the authoritative name server are optional.
  4. Click the Add and Edit button to go directly to the DNS zone page. In the Settings tab, it is possible to reset the default zone configuration to enable dynamic binds (Section 8.7.1, “Enabling Dynamic DNS Updates in the Web UI”) or change other default records information (Section 8.6.1, “Editing the Zone Configuration in the Web UI”). It is also possible to begin adding new DNS resource records (Section 8.9.1, “Adding DNS Resource Records from the Web UI”) in the DNS Resource Records tab.

8.5.2. Adding DNS Zones from the Command Line

The ipa dnszone-add command add a new zone to the DNS domain. At a minimum, this requires the name of the new subdomain:
$ ipa dnszone-add domainName
If the name is not given, the script prompts for it. Other command-line options can also be passed with the ipa dnszone-add command; these are described in .
To add a zone entry:
  1. Add the new zone. For example:
    $ ipa dnszone-add newserver.example.com --admin-email=admin@example.com --minimum=3000 --allow-dynupdate
  2. Reload the name service.
    # rndc reload

    TIP

    To make new zone records immediately resolvable without restarting the name service, enable persistent searches with the named service or configure the BIND service to poll the Directory Server automatically for zone changes. See Section 8.3, “Configuring the bind-dyndb-ldap Plug-in”.