botched backport; sync with 2.1, RT#9883
authorivan <ivan>
Fri, 17 Sep 2010 18:27:55 +0000 (18:27 +0000)
committerivan <ivan>
Fri, 17 Sep 2010 18:27:55 +0000 (18:27 +0000)
FS/FS/domain_record.pm

index 0a2b53e..9f1eb53 100644 (file)
@@ -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