summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-03-04 15:13:48 +0100
committerTomas Babej <tbabej@redhat.com>2015-03-09 15:21:04 +0100
commitf26220b9b301b406325c3206c2a7fe0edd6771f0 (patch)
tree47cdc0f21ff41cdd33c1c071458c3509eedfda3b /ipalib/plugins/dns.py
parent63c497a1fb43f499d8b24cb2197fddc64c608f1b (diff)
downloadfreeipa-f26220b9b301b406325c3206c2a7fe0edd6771f0.tar.gz
freeipa-f26220b9b301b406325c3206c2a7fe0edd6771f0.tar.xz
freeipa-f26220b9b301b406325c3206c2a7fe0edd6771f0.zip
DNS: remove NSEC3PARAM from records
NSEC3PARAM is configurable only from zone commands. This patch removes this record type from DNS records. Ticket: https://fedorahosted.org/freeipa/ticket/4930 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r--ipalib/plugins/dns.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 89e0b19cb..f589ab5b7 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -276,7 +276,7 @@ register = Registry()
_record_types = (
u'A', u'AAAA', u'A6', u'AFSDB', u'APL', u'CERT', u'CNAME', u'DHCID', u'DLV',
u'DNAME', u'DNSKEY', u'DS', u'HIP', u'IPSECKEY', u'KEY', u'KX', u'LOC',
- u'MX', u'NAPTR', u'NS', u'NSEC', u'NSEC3', u'NSEC3PARAM', u'PTR',
+ u'MX', u'NAPTR', u'NS', u'NSEC', u'NSEC3', u'PTR',
u'RRSIG', u'RP', u'SIG', u'SPF', u'SRV', u'SSHFP', u'TA', u'TKEY',
u'TLSA', u'TSIG', u'TXT',
)
@@ -1316,11 +1316,6 @@ class NSEC3Record(UnsupportedDNSRecord):
rrtype = 'NSEC3'
rfc = 5155
-class NSEC3PARAMRecord(UnsupportedDNSRecord):
- # this is part of zone in IPA
- rrtype = 'NSEC3PARAM'
- rfc = 5155
-
def _validate_naptr_flags(ugettext, flags):
allowed_flags = u'SAUP'
flags = flags.replace('"','').replace('\'','')
@@ -1520,7 +1515,6 @@ _dns_records = (
NSRecord(),
NSECRecord(),
NSEC3Record(),
- NSEC3PARAMRecord(),
PTRRecord(),
RRSIGRecord(),
RPRecord(),