summaryrefslogtreecommitdiff
path: root/FS/FS/domain_record.pm
diff options
context:
space:
mode:
authorivan <ivan>2010-08-17 17:08:22 +0000
committerivan <ivan>2010-08-17 17:08:22 +0000
commit9bdca2fe23584918219395b62effbb9ef0fc5f1c (patch)
tree3d9127c06721544c8941f74088abed2679b96329 /FS/FS/domain_record.pm
parent96ae2087c30bbe8f4db97879c105843bdd3fc295 (diff)
DNS, RT#8933
Diffstat (limited to 'FS/FS/domain_record.pm')
-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 6513abf..e7e9f70 100644
--- a/FS/FS/domain_record.pm
+++ b/FS/FS/domain_record.pm
@@ -419,6 +419,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