Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 28 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
[![Docker Pulls](https://img.shields.io/docker/pulls/psitrax/powerdns.svg)](https://hub.docker.com/r/psitrax/powerdns/)
[![Docker Automated buil](https://img.shields.io/docker/automated/psitrax/powerdns.svg)](https://hub.docker.com/r/psitrax/powerdns/)

* Small Alpine based Image
* MySQL (default), Postgres, SQLite and Bind backend included
* DNSSEC support optional
* Automatic MySQL database initialization
* Latest PowerDNS version (if not pls file an issue)
* Guardian process enabled
* Graceful shutdown using pdns_control
- Small Alpine based Image
- MySQL (default), Postgres, SQLite and Bind backend included
- DNSSEC support optional
- Automatic MySQL database initialization
- Latest PowerDNS version (if not pls file an issue)
- Guardian process enabled
- Graceful shutdown using pdns_control

## Supported tags

* Exact: i.e. `4.3.0`: PowerDNS Version 4.3.0
* `4.0`: PowerDNS Version 4.0.x, latest image build
* `4`: PowerDNS Version 4.x.x, latest image build
- Exact: i.e. `4.3.0`: PowerDNS Version 4.3.0
- `4.3`: PowerDNS Version 4.3.x, latest image build
- `4`: PowerDNS Version 4.x.x, latest image build

## Usage

Expand All @@ -42,35 +42,36 @@ $ docker run --name pdns \

## Configuration

**Environment Configuration:**
### Environment Configuration

* MySQL connection settings
* `MYSQL_HOST=mysql`
* `MYSQL_USER=root`
* `MYSQL_PASS=root`
* `MYSQL_DB=pdns`
* `MYSQL_DNSSEC=no`
* To support docker secrets, use same variables as above with suffix `_FILE`.
* Want to disable mysql initialization? Use `MYSQL_AUTOCONF=false`
* DNSSEC is disabled by default, to enable use `MYSQL_DNSSEC=yes`
* Want to use own config files? Mount a Volume to `/etc/pdns/conf.d` or simply overwrite `/etc/pdns/pdns.conf`
- MySQL connection settings
- `MYSQL_HOST=mysql`
- `MYSQL_USER=root`
- `MYSQL_PASS=root`
- `MYSQL_DB=pdns`
- `MYSQL_DNSSEC=no`

**PowerDNS Configuration:**
- To support docker secrets, use same variables as above with suffix `_FILE`.

- Want to disable mysql initialization? Use `MYSQL_AUTOCONF=false`

- DNSSEC is disabled by default, to enable use `MYSQL_DNSSEC=yes`

- Want to use own config files? Mount a Volume to `/etc/pdns/conf.d` or simply overwrite `/etc/pdns/pdns.conf`

### PowerDNS Configuration

Append the PowerDNS setting to the command as shown in the example above.
See `docker run --rm psitrax/powerdns --help`


## License

[GNU General Public License v2.0](https://github.com/PowerDNS/pdns/blob/master/COPYING) applyies to PowerDNS and all files in this repository.


## Maintainer

* Christoph Wiechert <[email protected]>
- Christoph Wiechert [[email protected]](mailto:[email protected])

### Credits

* Mathias Kaufmann <[email protected]>: Reduced image size

- Mathias Kaufmann [[email protected]](mailto:[email protected]): Reduced image size