https://github.com/cesurapp/pdns-alpine
Alpine based SQLite backend PowerDNS docker container
https://github.com/cesurapp/pdns-alpine
alpine bind dns docker pdns powerdns
Last synced: 7 months ago
JSON representation
Alpine based SQLite backend PowerDNS docker container
- Host: GitHub
- URL: https://github.com/cesurapp/pdns-alpine
- Owner: cesurapp
- License: mit
- Created: 2019-07-04T14:47:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T13:18:12.000Z (about 6 years ago)
- Last Synced: 2025-03-28T16:43:38.345Z (about 1 year ago)
- Topics: alpine, bind, dns, docker, pdns, powerdns
- Language: TSQL
- Homepage:
- Size: 6.84 KB
- Stars: 6
- Watchers: 0
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PowerDNS-SQLite Alpine
Alpine based SQLite backend PowerDNS docker container
The powerdns settings are stored in /etc/pdns/pdns.conf. You can override settings by creating volume. The database is at /pdns/pdns_db.sqlite. By default, the Restfull api is enabled.
Change Folder Ownership:
```
chown -R 100:101 pdns/
```
### Example Application:
docker-compose:
```yaml
version: '3'
services:
powerdns:
build: .
ports:
- 53:53/udp
- 53:53/tcp
- 8081:8081
environment:
- PDNS_LOG_LEVEL=0
- PDNS_API_KEY=34H5G34J5H43H34
- PDNS_WEBSERVER_PASSWORD=123456
- PDNS_WEBSERVER_ALLOWED_FROM=127.0.0.1,::1,172.0.0.0/8
volumes:
- ./pdns/:/pdns/
dnsadmin:
image: ngoduykhanh/powerdns-admin:latest
environment:
- SQLALCHEMY_DATABASE_URI=sqlite:////pdns/pdns_db.sqlite
- GUINCORN_TIMEOUT=60
- GUNICORN_WORKERS=2
- GUNICORN_LOGLEVEL=DEBUG
volumes:
- ./pdns/:/pdns/
ports:
- 8082:80
logging:
driver: json-file
options:
max-size: 10m
```