NAME

PERL : Libconf::Glueconf::Networking::Resolv C/PYTHON/RUBY : Networking/Resolv

DESCRIPTION

Libconf::Glueconf::Networking::Resolv is a template to handle the /etc/resolv.conf style files.

SYNOPSIS

  $resolv = new Libconf::Glueconf::Networking::Resolv({filename => 'resolv.conf' });
  push(@{$resolv->{nameserver}}, '192.168.76.7');
  $resolv->write_conf();

CONSTRUCTOR

new($options)

creates the template

  $resolv = new Libconf::Glueconf::Networking::Resolv({
                                                        .. arguments .. 
                                                      })

the options are the same as in Libconf::Templates::Resolv, look there to have the details.

METHODS

See <Libconf::Glueconf> for general methods