projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f8e8477
)
botched backport; sync with 2.1, RT#9883
author
ivan
<ivan>
Fri, 17 Sep 2010 18:27:55 +0000
(18:27 +0000)
committer
ivan
<ivan>
Fri, 17 Sep 2010 18:27:55 +0000
(18:27 +0000)
FS/FS/domain_record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/domain_record.pm
b/FS/FS/domain_record.pm
index
0a2b53e
..
9f1eb53
100644
(file)
--- 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.'.' };
}
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
=back
=head1 BUGS