summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/dns.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 33db481b..43703e03 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -168,11 +168,8 @@ IPA.dns.zone_entity = function(spec) {
type: 'netaddr',
name: 'idnsallowquery',
validators: [
- IPA.unsupported_validator({
- unsupported: ['localhost', 'localnets']
- }),
IPA.network_validator({
- specials: ['any', 'none'],
+ specials: ['any', 'none', 'localhost', 'localnets'],
allow_negation: true,
allow_host_address: true
})]
@@ -181,11 +178,8 @@ IPA.dns.zone_entity = function(spec) {
type: 'netaddr',
name: 'idnsallowtransfer',
validators: [
- IPA.unsupported_validator({
- unsupported: ['localhost', 'localnets']
- }),
IPA.network_validator({
- specials: ['any', 'none'],
+ specials: ['any', 'none', 'localhost', 'localnets'],
allow_negation: true,
allow_host_address: true
})]