Thomas M Steenholdt daba67611b Enable pool_pre_ping in DB connection
To avoid problems with inactive DB connections, SQLAlchemy provides a `pool_pre_ping` option, that described in more detail here:

http://docs.sqlalchemy.org/en/latest/core/pooling.html#disconnect-handling-pessimistic

In flask environments, it's enabled by subclassing SQLAlchemy, which is what I've done here.

Fixes errors like:
sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') which results in an Error 500 in the UI.
2018-06-12 14:01:25 -02:00
2018-06-12 14:01:25 -02:00
2018-04-17 21:21:42 +07:00
2018-04-17 22:14:03 +07:00
2018-06-11 17:12:52 +07:00
2018-04-02 13:38:53 +07:00
2018-04-02 13:38:53 +07:00
2018-06-08 11:46:17 +02:00
2018-03-30 13:49:35 +07:00
2018-03-30 13:49:35 +07:00
2018-04-02 14:01:35 +07:00
2018-04-18 10:34:46 +07:00
2017-11-02 02:15:33 +01:00
2018-04-02 13:38:53 +07:00

PowerDNS-Admin

A PowerDNS web interface with advanced features. Build Status

Features:

  • Multiple domain management
  • Domain template
  • User management
  • User access management based on domain
  • User activity logging
  • Local DB / LDAP / Active Directory user authentication
  • Support SAML authentication
  • Google oauth authentication
  • Github oauth authentication
  • Support Two-factor authentication (TOTP)
  • Dashboard and pdns service statistics
  • DynDNS 2 protocol support
  • Edit IPv6 PTRs using IPv6 addresses directly (no more editing of literal addresses!)

Running PowerDNS-Admin

There are several ways to run PowerDNS-Admin. Following is a simple way to start PowerDNS-Admin with docker in development environment which has PowerDNS-Admin, PowerDNS server and MySQL Back-End Database.

Step 1: Changing configuration The configuration file for developement environment is located at configs/development.py, you can override some configs by editing .env file.

Step 2: Build docker images

$ docker-compose build

Step 3: Start docker containers

$ docker-compose up

You can now access PowerDNS-Admin at url http://localhost:9191

NOTE: For other methods to run PowerDNS-Admin, please take look at WIKI pages.

Screenshots

login page dashboard create domain page manage domain page two-factor authentication config

Description
A PowerDNS web interface with advanced features
Readme MIT 36 MiB
Languages
Python 50.5%
HTML 44.5%
JavaScript 3.4%
CSS 0.9%
Dockerfile 0.4%
Other 0.2%