[nsd-users] Perl and/or DB interface into nsd3

David H untg99 at gmail.com
Wed Jun 8 06:13:54 UTC 2011

Hi All,

Be really grateful if anyone has luck with a Perl/DB interface into the nsd3
zone files.

I was looking at DNS::Config::File::Nsd but got an error when trying to
$nsdfile->parse() undefined call to 'read', I'm guessing this is because the
package is no longer maintained.

I'm trying a simple file:

use DNS::Config::File::Nsd;

$file = "zonefile.conf";

my $file = new DNS::Config::File::Nsd($file);



Can't locate object method "read" via package "DNS::Config::File::Nsd" at
/usr/local/share/perl/5.12.3/DNS/Config/File/Nsd.pm line 207.

Nsd.pm has this on line 207:

202: sub parse {
203:        my($self, $file) = @_;
205:        $file = $file || $self->{'FILE'};
207:        my @lines = $self->read($file);  # error here with $self->read


Can anyone shed any light on this or is this a stupid user error I'm having
trying to get this working?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20110608/959b7c25/attachment.htm>

More information about the nsd-users mailing list