NAME

YaPI::DNSD - DNS server configuration API


PREFACE

This package is the public YaST2 API to configure the Bind version 9


SYNOPSIS

use YaPI::DNSD

$status = StopDnsService($config)

$status = StartDnsService($config)

$status = GetDnsServiceStatus($config)

$options = ReadGlobalOptions($config)

$ret = WriteGlobalOptions($config,$options)

$zones = ReadZones($config)

$ret = WriteZones($config,$zones)

The $config parameter is always a refernece to a hash, that contains various configuration options. Currently following keys are supported:

"use_ldap" says if settings should be written/read to LDAP or not. Possible values are 1 (use LDAP if configured properly) or 0 (do not use LDAP). If not specified, mode is detected automatically.

"ldap_passwd" holds the LDAP password needed for authentication against the LDAP server. Needed only for writing operation if LDAP is used for data storing.


DESCRIPTION