3
0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
dnsmanagerv1/lib/interface/knot.pm

27 lines
500 B
Perl
Raw Normal View History

package app::interface::knot;
2014-05-08 11:08:58 +02:00
use v5.14;
use Moo;
2014-05-08 11:08:58 +02:00
# on suppose que tout est déjà mis à jour dans le fichier
sub reload {
my ($self, $zname) = @_;
die "knot ns not implemented yet";
}
sub addzone {
die "knot primary ns not implemented yet";
}
# add a domain on a secondary ns
sub addzone_sec {
my ($self, $zdir, $zname, $opt) = @_;
die "knot secondary ns not implemented yet";
}
sub delzone {
my ($self, $zdir, $zname) = @_;
die "knot ns not implemented yet";
}
1;