16 Feb 2003 10:22:28 UTC
- Distribution: DNS-Config
- Module version: 0.66
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (446 / 0 / 0)
- KwaliteeBus factor: 0
- 24.25% Coverage
- License: unknown
- Activity24 month
- Download (14.61KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
DNS::Config::File::Nsd - Concrete adaptor class
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();
This class represents a set of configuration files for NLNetLab's NSD (Name Server Daemon), an authoritative-only nameserver sponsored by the RIPE NCC.
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.
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: email@example.com