mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-06-07 00:47:00 +03:00
- added protocol config parameter and handling for it
- changed nameserver entries in config to be dymanic - changed display and parsing of NS-entries from config or from template to be dynamic
This commit is contained in:
parent
94f722b4d5
commit
0a09deb50a
3 changed files with 29 additions and 43 deletions
|
@ -5,6 +5,7 @@ $apipass = ''; # The PowerDNS API-user password or 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
|
||||
$apiprotocol = 'https://'; # protocol used to connect with trailing slashs
|
||||
$allowzoneadd = FALSE; # Allow normal users to add zones
|
||||
|
||||
### AUTHENTICATION ###
|
||||
|
@ -47,6 +48,6 @@ $templates[] = array(
|
|||
$defaults['soa_edit'] = 'INCEPTION-INCREMENT';
|
||||
$defaults['soa_edit_api'] = 'INCEPTION-INCREMENT';
|
||||
$defaults['defaulttype'] = 'Master'; # Choose between 'Native' or 'Master'
|
||||
$defaults['primaryns'] = 'unconfigured.primaryns'; # The value of the first NS-record
|
||||
$defaults['secondaryns'] = 'unconfigured.secondaryns'; # The value of the second NS-record
|
||||
$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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue