FS::domain_record - Object methods for domain_record records
use FS::domain_record;
$record = new FS::domain_record \%hash; $record = new FS::domain_record { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::domain_record object represents an entry in a DNS zone. FS::domain_record inherits from FS::Record. The following fields are currently supported:
Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the hash method.
$Id: domain_record.html,v 1.1 2001-07-30 07:36:03 ivan Exp $
The data validation doesn't check everything it could. In particular, there is no protection against bad data that passes the regex, duplicate SOA records, forgetting the trailing `.', impossible IP addersses, etc. Of course, it's still better than editing the zone files directly. :)
the FS::Record manpage, schema.html from the base documentation.
$Log: domain_record.html,v $
Revision 1.1 2001-07-30 07:36:03 ivan
templates!!!
Revision 1.2 2001/05/18 14:08:55 ivan tyop
Revision 1.1 2000/02/03 05:16:52 ivan beginning of DNS and Apache support