Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > System

    Unix::Conf::Bind8::Conf 0.3

    Download button

    No screenshots available
    Downloads: 632  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Karthik Krishnamurthy | More programs
    Perl Artistic License / FREE
    June 12th, 2006, 17:40 GMT
    ROOT / System

     Read user reviews (0)  Refer to a friend  Subscribe

    Unix::Conf::Bind8::Conf description

    A front end for a suite of classes for manipulating a Bind8 style configuration file.

    Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file.

    SYNOPSIS

    my ($conf, $obj, $ret);

    $conf = Unix::Conf::Bind8->new_conf (
    FILE => 'named.conf',
    SECURE_OPEN => '/etc/named.conf',
    ) or $conf->die ("couldn't create `named.conf'");

    #
    # All directives have corrresponding new_*, get_*, delete_*
    # methods
    #

    $obj = $conf->new_zone (
    NAME => 'extremix.net',
    TYPE => 'master',
    FILE => 'db.extremix.net',
    ) or $obj->die ("couldn't create zone `extremix.net'");

    # For objects that have a name attribute, name is to
    # be specified, otherwise no arguments are needed.
    $obj = $conf->get_zone ('extremix.net')
    or $obj->die ("couldn't get zone `extremix.net'");

    $obj = $conf->get_options ()
    or $obj->die ("couldn't get options");

    # For objects that have a name attribute, name is to
    # be specified, otherwise no arguments are needed.
    $obj = $conf->delete_zone ('extremix.net')
    or $obj->die ("couldn't delete zone `extremix.net'");

    $obj = $conf->delete_options ()
    or $obj->die ("couldn't get options");

    # directives that have a name attribute, have iterator
    # methods
    printf ("Zones defined in %s:n", $conf->fh ());
    for my $zone ($conf->zones ()) {
    printf ("%sn", $zone->name ();
    }

    printf ("Directives defined in %s:n", $conf->fh ());
    for my $dir ($conf->directives ()) {
    print ("$dirn");
    }

    $db = $conf->get_db ('extremix.net')
    or $db->die ("couldn't get db for `extremix.net'");


    This class has interfaces for the various class methods of the classes that reside beneath Unix::Conf::Bind8::Conf. This class is an internal class and should not be accessed directly. Methods in this class can be accessed through a Unix::Conf::Bind8::Conf object which is returned by Unix::Conf::Bind8->new_conf ().

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl module | Bind8 configuration | Perl library | library | Perl | module

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM