The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


DNS::Config::File - Abstract class for file representation


use DNS::Config::File;

my $file = new DNS::Config::File( 'type' => 'default', 'file' => $file_name_string );

$file->parse($file_name_string); $file->dump($fie_name_string); $file->debug();

$file->config(new DNS::Config());


This class represents an abstract configuration file for a domain name service daemon (DNS).


This class, the file adaptor, knows how to write the information to a file in a daemon specific format.

So far this class is strongly related to the ISCs Bind domain name service daemon but it is inteded to get more generic in upcoming releases. Your help is welcome.


Copyright (C)2001-2003 Andy Wolf. 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:


DNS::Config, DNS::Config::Server, DNS::Config::Statement, DNS::Config::File::Bind9