-
-
16 Feb 2003 10:22:28 UTC
- Distribution: DNS-Config
- Module version: 0.66
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (446 / 0 / 0)
- Kwalitee
Bus factor: 0- 24.25% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (14.61KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
DNS::Config::File::Nsd - Concrete adaptor class
SYNOPSIS
use DNS::Config::File::Nsd;
my $file = new DNS::Config::File::Nsd($nsd.zones_file);
# Read in an additional config file (needed before invoking ->parse() ) $file->nsdc( $nsdc.conf_file );
# Set the nsdkeysdir (tsig keys in files) $file->nsdkeysdir( $tsigdir );
# Parse nsd.zones, nsdc.conf, and any TSIG files $file->parse();
# Dump the nsd.zones file (also $file->dump_nsd_zones() ) $file->dump();
# Dump the nsdc.conf file $file->dump_nsdc();
# Dump the tsig files. $file->dump_tsig( $tsigdir );
# Debug the output. $file->debug();
$file->config(new DNS::Config());
ABSTRACT
This class represents a set of configuration files for NLNetLab's NSD (Name Server Daemon), an authoritative-only nameserver sponsored by the RIPE NCC.
DESCRIPTION
This class, the Nsd file adaptor, knows how to read and write the information to a file in the NSD daemon specific formats. Note that NSD has three places for configuration information, being:
nsd.zones - Zone name and zone file specifications for zonec(1), the notify servers for nsd-notify(1) and the master servers for nsdc and named-xfer.
nsdc.conf - Special (shell-script) configuration for nsdc.
NSDKEYSDIR - A directory where TSIG keys can be found, for usage by nsdc and named-xfer.
AUTHOR
Copyright (C)2003 Bruce Campbell. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Please address bug reports and comments to: bxc@users.sourceforge.net
SEE ALSO
Module Install Instructions
To install DNS::Config, copy and paste the appropriate command in to your terminal.
cpanm DNS::Config
perl -MCPAN -e shell install DNS::Config
For more information on module installation, please visit the detailed CPAN module installation guide.