summaryrefslogtreecommitdiffstats
path: root/install/ui/dns.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r--install/ui/dns.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 42002192..4182074a 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -131,9 +131,11 @@ IPA.dns.zone_entity = function(spec) {
type: 'netaddr',
name: 'idnsallowquery',
validators: [
+ IPA.unsupported_validator({
+ unsupported: ['localhost', 'localnets']
+ }),
IPA.network_validator({
- specials: ['any', 'none',
- 'localhost', 'localnets'],
+ specials: ['any', 'none'],
allow_negation: true,
allow_host_address: true
})]
@@ -142,9 +144,11 @@ IPA.dns.zone_entity = function(spec) {
type: 'netaddr',
name: 'idnsallowtransfer',
validators: [
+ IPA.unsupported_validator({
+ unsupported: ['localhost', 'localnets']
+ }),
IPA.network_validator({
- specials: ['any', 'none',
- 'localhost', 'localnets'],
+ specials: ['any', 'none'],
allow_negation: true,
allow_host_address: true
})]