X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdomain_record.pm;h=9f1eb5318820610d01ffbc3599849a9f9b48b37a;hb=9763666a4eee2120c46b1decb8584b2c0d27ed12;hp=0a2b53ebb601fa2c6c38ec37756252e7d782e63a;hpb=f8e84775eb3c02806274d1f47f0c526d3faf42c0;p=freeside.git 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