<?php

$apipass = '';           # The PowerDNS API-key
$apiip   = '';           # The IP of the PowerDNS API
$apiport = '8081';       # The port of the PowerDNS API
$apisid  = 'localhost';  # PowerDNS's :server_id
$apiproto      = 'http'; # http | https
$apisslverify  = FALSE;  # Verify SSL Certificate if using https for apiproto
$allowzoneadd  = FALSE;  # Allow normal users to add zones


# If you configure this, nsedit will try to authenticate via WeFact too.
# Debtors will be added to the sqlitedatabase with their crypted password.
#$wefactapiurl = 'https://yourdomain/Pro/apiv2/api.php';
#$wefactapikey = 'xyz';

# If you want external scripts to be able to execute stuff here, add the
# remote-ip to $adminapiips and create a $adminapikey
#$adminapiips = array();
#$adminapikey = 'thisshouldbequitealongstring,youknow';

$authdb  = "../etc/pdns.users.sqlite3";

# Set a random generated secret to enable auto-login and long living csrf tokens
// $secret = '...';

$templates = array();
/*
$templates[] = array(
    'name' => 'Tuxis',
    'owner' => 'username', # Set to 'public' to make it available to all users
    'records' => array(
        array(
            'name'      => '',
            'type'      => 'MX',
            'content'   => '200 mx2.tuxis.nl')
    )
);
*/

$defaults['soa_edit']    = 'INCEPTION-INCREMENT';
$defaults['soa_edit_api'] = 'INCEPTION-INCREMENT';
$defaults['defaulttype'] = 'Master';                    # Choose between 'Native' or 'Master'
$defaults['ns'][0] = 'unconfigured.primaryns';          # The value of the first NS-record
$defaults['ns'][1] = 'unconfigured.secondaryns';        # The value of the second NS-record
$defaults['ttl']   = 3600;                              # Default TTL for records
$defaults['disabled'] = false;                          # Default disabled state

## UI Options
$menutype = 'horizontal'; # horizontal|vertical - use a horizontal or vertical menu
$logo = 'img/nsedit.png';