complete configuration of powerdns-admin web interface
This commit is contained in:
parent
7014e8f7ad
commit
8208b1db05
@ -29,6 +29,9 @@ as root, edit `/etc/powerdns/pdns.d/` and add the following content:
|
|||||||
launch=gsqlite3
|
launch=gsqlite3
|
||||||
gsqlite3-database=/var/lib/powerdns/pdns.sqlite3
|
gsqlite3-database=/var/lib/powerdns/pdns.sqlite3
|
||||||
local-address=10.42.1.1
|
local-address=10.42.1.1
|
||||||
|
webserver=true
|
||||||
|
api=true
|
||||||
|
api-key=**addSomeUniquePreSharedAPIKeyForYourself**
|
||||||
```
|
```
|
||||||
|
|
||||||
then `sudo rm /etcpowerdns/pdns.d/bind.conf`
|
then `sudo rm /etcpowerdns/pdns.d/bind.conf`
|
||||||
@ -128,4 +131,15 @@ flask assets build
|
|||||||
|
|
||||||
at this point we should be able to `./run.py` and have the web application start at http://10.42.1.1:9191
|
at this point we should be able to `./run.py` and have the web application start at http://10.42.1.1:9191
|
||||||
|
|
||||||
there's a big **TODO** sitting right here to walk through the configuration of connecting the admin web app to the actual pdns server's api, but that will be in the next revision so I can get this committed. more soon.
|
~~there's a big **TODO** sitting right here to walk through the configuration of connecting the admin web app to the actual pdns server's api, but that will be in the next revision so I can get this committed. more soon.~~
|
||||||
|
|
||||||
|
*note: I had to go back and revise the /etc/powerdns/pdns.d/gsqlite3.conf above to enable the webserver and api server in order to continue, so if you did this before the above todo was crossed out then double check that file's contents please.*
|
||||||
|
|
||||||
|
use the link to create an account, as the first account created will be the administrator.
|
||||||
|
|
||||||
|
once you've logged in, it will complain about needing some config
|
||||||
|
|
||||||
|
the api url should be `http://localhost:8081`
|
||||||
|
the api key is the same one you added in the pdns config file earlier.
|
||||||
|
|
||||||
|
go ahead and update the settings and voila, you are the proud operator of a web-administered authoritative DNS server for your VPN clients. congrats!
|
||||||
|
Loading…
Reference in New Issue
Block a user