dn: idnsname=example.com,cn=dns,dc=example,dc=com idnsname: example.com idnssoamname: server.example.com. idnssoarname: root.server.example.com. idnssoaserial: 2011130701 idnssoarefresh: 3600 idnssoaretry: 900 idnssoaexpire: 1209600 idnssoaminimum: 3600 idnsupdatepolicy: grant EXAMPLE.COM krb5-self * A; grant EXAMPLE.COM krb5-self * AAAA; idnszoneactive: TRUE idnsallowdynupdate: TRUE nsrecord: server.example.com. objectclass: top objectclass: idnsrecord objectclass: idnszone
| Attribute | Command-Line Option | Description |
|---|---|---|
| Zone name | --name | Sets the name of the zone. |
| Authoritative nameserver | --name-server | Sets the fully-qualified domain name of the DNS name server. |
| Administrator e-mail address | --admin-email | Sets the email address to use for the zone administrator. This defaults to the root account on the host. |
| SOA serial | --serial | Sets a version number for the SOA record file. |
| SOA refresh | --refresh | Sets the interval, in seconds, for a secondary DNS server to wait before requesting updates from the primary DNS server. |
| SOA retry | --retry | Sets the time, in seconds, to wait before retrying a failed refresh operation. |
| SOA expire | --expire | Sets the time, in seconds, that a secondary DNS server will try to perform a refresh update before ending the operation attempt. |
| SOA minimum | --minimum | Sets the minimum amount of time, in seconds, that data are kept in cache. |
| SOA time to live | --ttl | Sets the maximum time, in seconds, that information is kept in the data cache. |
| SOA class | --class | Sets the type of record. This is almost always IN, which stands for Internet. |
| BIND update policy | --update-policy |
Sets the permissions allowed to clients in the DNS zone.
IMPORTANT
If this is set to false, IPA client machines will not be able to add or update their IP address. See Section 8.7, “Enabling Dynamic DNS Updates” for more information.
|
| Dynamic update | --allow-dynupdate | Enables dynamic updates to DNS records for clients. |
| Name server | --ip-address | Adds the DNS name server by its IP address. |


dnszone-add command. Likewise, attributes can be added or modified in the zone entry by passing the same attribute options with the dnszone-mod command. These are listed in Table 8.3, “Zone Attributes”.
dnszone-mod command adds the attribute. If the attribute exists, then it overwrites the current value with the specified value.
$ ipa dnszone-mod server.example.com --ttl=1800 --allow-dynupdate
--allow-dynupdate option must be specified every time the zone is modified to continue to allow clients to update their DNS entries.
dn: idnsname=example.com,cn=dns,dc=example,dc=com
idnsname: example.com
idnssoamname: server.example.com.
idnssoarname: root.server.example.com.
idnssoaserial: 2011130701
idnssoarefresh: 3600
idnssoaretry: 900
idnssoaexpire: 1209600
idnssoaminimum: 3600
dnsttl: 1800
idnsupdatepolicy: grant EXAMPLE.COM krb5-self * A; grant EXAMPLE.COM krb5-self * AAAA;
idnszoneactive: TRUE
idnsallowdynupdate: TRUE
nsrecord: server.example.com.
objectclass: top
objectclass: idnsrecord
objectclass: idnszone