1 package FS::part_export::bind;
3 use vars qw(@ISA %info %options);
5 use FS::part_export::null;
7 @ISA = qw(FS::part_export::null);
9 tie %options, 'Tie::IxHash',
10 'named_conf' => { label => 'named.conf location',
11 default=> '/etc/bind/named.conf' },
12 'zonepath' => { label => 'path to zone files',
13 default=> '/etc/bind/', },
14 'bind_release' => { label => 'ISC BIND Release',
16 options => [qw(BIND8 BIND9)],
18 'bind9_minttl' => { label => 'The minttl required by bind9 and RFC1035.',
20 'reload' => { label => 'Optional reload command. If not specified, defaults to "ndc" under BIND8 and "rndc" under BIND9.', },
24 'svc' => 'svc_domain',
25 'desc' => 'Batch export to BIND named',
26 'options' => \%options,
28 Batch export of BIND zone and configuration files to a primary nameserver.
29 <a href="http://search.cpan.org/search?dist=File-Rsync">File::Rsync</a>
30 must be installed. Run bin/bind.export to export the files.