in reply to DNS::ZoneFile
You could try DNS::ZoneParse:
#!/usr/bin/perl -w use strict; use DNS::ZoneParse; my $zone = DNS::ZoneParse->new("../named.master.conf/_dnsmaster"); print $zone->output();
Update: Missed the question -- This won't parse the named.conf file. Looks like BIND::Conf_Parser should do what you want
-- simonflk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: DNS::ZoneFile^H^H^H^HParse
by naChoZ (Curate) on Jun 21, 2003 at 03:06 UTC |
In Section
Seekers of Perl Wisdom