Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/McLive/DjangoPowerDNS


https://github.com/McLive/DjangoPowerDNS

django dns pdns powerdns python

Last synced: 24 days ago
JSON representation

Lists

README

        

# DjangoPowerDNS

DjangoPowerDNS is a new PowerDNS webinterface written in Python and powered by Django.

## Features

- Add/Edit/Remove DNS records easily
- Use the REST-API to change DNS records within your application
- Add users to certain domains to allow them editing DNS records

___

### Tech

DjangoPowerDNS uses awesome open source tools!

* [Django](https://www.djangoproject.com/)
* [Knockout.js](http://knockoutjs.com/)
* [Twitter Bootstrap](http://getbootstrap.com/)
* [SweetAlert](https://sweetalert.js.org/)
* [toastr](https://github.com/CodeSeven/toastr)
* [Navigo](https://github.com/krasimir/navigo)

___

### Screenshots

| | |
|:-------------:|:-------------:|
|![Domain list](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010520.png "Domain list")|![Records list](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010707.png "Records list")|
|![Records list filtered](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010719.png "Records list filtered")|![Records list editing](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010732.png "Records list editing")|
|![Records list add](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010743.png "Records list add")|![Records list delete](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010944.png "Records list delete")|
|![API preview](https://share.aljaxus.eu/2019-07-22/12%3A11%3A31am-20190722010913.png "API preview")||
| | |

___

### Installation
Install the following dependencies:

On Debian based Systems:
```sh
$ apt update
$ apt install python2.7
$ apt install python-pip
$ apt install git
$ apt install uwsgi
$ apt install python-mysqldb
$ apt install mysql-client
For mariadb:
$ apt install libmariadbclient-dev
```

On RHEL based Systems:
```sh
$ yum update -y
$ yum install -y python
$ yum install -y python-pip
$ yum install -y git
$ yum install -y uwsgi
$ yum install -y MySQL-python
$ yum install -y python-devel
$ yum install -y mariadb-devel
$ yum install libxslt-devel libxml2-devel
```

Clone the repository
```sh
$ git clone https://github.com/McLive/DjangoPowerDNS.git
```

Install and setup the virtualenv
```sh
$ pip install virtualenv
$ virtualenv venv
$ source venv/bin/activate
```

Install the python requirements
```sh
$ pip install -r requirements.txt
```

* Rename `DjangoPowerDNS/settings.py.dist` to `DjangoPowerDNS/settings.py`
* Change MySQL settings and secret key in `DjangoPowerDNS/settings.py`

Apply migrations
```sh
$ python manage.py migrate
```

Create a superuser
```sh
$ python manage.py createsuperuser
```

___

### Todos

- Complete README.md :)
- Please send feature requests