package FS::domain_record;
+use base qw(FS::Record);
use strict;
-use vars qw( @ISA $noserial_hack $DEBUG $me );
+use vars qw( $noserial_hack $DEBUG $me );
use FS::Conf;
-#use FS::Record qw( qsearch qsearchs );
-use FS::Record qw( qsearchs dbh );
-use FS::svc_domain;
+use FS::Record qw( qsearchs dbh ); #qsearch
use FS::svc_www;
-@ISA = qw(FS::Record);
-
$DEBUG = 0;
$me = '[FS::domain_record]';
Returns the domain (see L<FS::svc_domain>) for this record.
-=cut
-
-sub svc_domain {
- my $self = shift;
- qsearchs('svc_domain', { svcnum => $self->svcnum } );
-}
-
=item zone
Returns the canonical zone name.
#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(SOA 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
];