<div class="gmail_quote">Hi All,<br><br>Be really grateful if anyone has luck with a Perl/DB interface into the nsd3 zone files.<br><br>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.<br>

<br>I'm trying a simple file:<br><br>-----nsdread.pl------<br>use DNS::Config::File::Nsd;<br><br>$file = "zonefile.conf";<br><br>my $file = new DNS::Config::File::Nsd($file);<br><br>$file->parse();<br><br>

-------end-------------<br><br>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.<br><br>Nsd.pm has this on line 207:<br>

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

<br>----chop---<br><br><br>Can anyone shed any light on this or is this a stupid user error I'm having trying to get this working?<br><br><br>Thanks,<br><br>David<br><br></div>