diff options
-rw-r--r-- | install/ui/dns.js | 13 | ||||
-rw-r--r-- | install/ui/test/data/dnsconfig_mod.json | 9 | ||||
-rw-r--r-- | install/ui/test/data/dnsconfig_show.json | 9 |
3 files changed, 30 insertions, 1 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js index 512d2cc23..546835860 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -43,10 +43,21 @@ IPA.dns.config_entity = function(spec) { label: IPA.messages.objects.dnsconfig.options, fields: [ { + type: 'checkbox', + name: 'idnsallowsyncptr' + }, + { type: 'multivalued', name: 'idnsforwarders', validators: [IPA.ip_address_validator()] - } + }, + { + type: 'checkboxes', + name: 'idnsforwardpolicy', + mutex: true, + options: IPA.create_options(['only', 'first']) + }, + 'idnszonerefresh' ] } ], diff --git a/install/ui/test/data/dnsconfig_mod.json b/install/ui/test/data/dnsconfig_mod.json index e82e0735e..d6e1b8c2d 100644 --- a/install/ui/test/data/dnsconfig_mod.json +++ b/install/ui/test/data/dnsconfig_mod.json @@ -17,9 +17,18 @@ "cn": [ "dns" ], + "idnsallowsyncptr": [ + "FALSE" + ], "idnsforwarders": [ "2001:beef::1" ], + "idnsforwardpolicy": [ + "first" + ], + "idnszonerefresh": [ + "20" + ], "objectclass": [ "idnsConfigObject", "nsContainer", diff --git a/install/ui/test/data/dnsconfig_show.json b/install/ui/test/data/dnsconfig_show.json index e663abcc8..4ee15cd2f 100644 --- a/install/ui/test/data/dnsconfig_show.json +++ b/install/ui/test/data/dnsconfig_show.json @@ -18,9 +18,18 @@ "dns" ], "dn": "cn=dns,dc=dev,dc=example,dc=com", + "idnsallowsyncptr": [ + "FALSE" + ], "idnsforwarders": [ "2001:beef::1" ], + "idnsforwardpolicy": [ + "first" + ], + "idnszonerefresh": [ + "20" + ], "objectclass": [ "idnsConfigObject", "nsContainer", |