Andy Wolf > DNS-Config > DNS::Config::File::Nsd

Download:
DNS-Config-0.66.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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 ^

DNS::Config, DNS::Config::File, DNS::Config::Bind9

syntax highlighting: