summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-09-17 18:27:55 +0000
committerivan <ivan>2010-09-17 18:27:55 +0000
commit9763666a4eee2120c46b1decb8584b2c0d27ed12 (patch)
treebeaf2e46a481691e5d0015772a0c4f95d683f318
parentf8e84775eb3c02806274d1f47f0c526d3faf42c0 (diff)
botched backport; sync with 2.1, RT#9883
-rw-r--r--FS/FS/domain_record.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/FS/FS/domain_record.pm b/FS/FS/domain_record.pm
index 0a2b53ebb..9f1eb5318 100644
--- a/FS/FS/domain_record.pm
+++ b/FS/FS/domain_record.pm
@@ -434,6 +434,18 @@ sub reverse_record {
or new FS::domain_record { %hash, 'recdata' => $self->zone.'.' };
}
+=item rectypes
+
+=cut
+#http://en.wikipedia.org/wiki/List_of_DNS_record_types
+#DHCID? other things?
+sub rectypes {
+ [ qw(A AAAA CNAME MX NS PTR SPF SRV TXT), #most common types
+ #qw(DNAME), #uncommon types
+ qw(DLV DNSKEY DS NSEC NSEC3 NSEC3PARAM RRSIG), #DNSSEC types
+ ];
+}
+
=back
=head1 BUGS