Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/julianxhokaxhiu/docker-powerdns

PowerDNS + Recursor + Admin GUI + Adblock in one single Docker
https://github.com/julianxhokaxhiu/docker-powerdns

adblock armhf dns-server docker powerdns x86-64

Last synced: about 2 months ago
JSON representation

PowerDNS + Recursor + Admin GUI + Adblock in one single Docker

Awesome Lists containing this project

README

        

# docker-powerdns

PowerDNS + Recursor + Admin GUI + Adblock in one single Docker

## Configuration options

See [Dockerfile](Dockerfile#L9)

## IPv6 support

In order to enable this Docker to handle IPv6 queries, you should do some further actions. See this [preparation script](https://github.com/julianxhokaxhiu/vps-powered-by-docker/blob/master/modules/dns.lan.sh#L16-L20) for more informations.

## Ad-Block feature

If you want to enable ad-blocking on top of your entries, just set the [relative environment variable](Dockerfile#L27) to `true`. List courtesy of [Pi-Hole project](https://pi-hole.net/).

The list will be updated using cron, at the time specified on the [relative environment variable](Dockerfile#L24).

## How to use

### Simple

```
docker run \
--restart=always \
-d \
-p 53:53 \
-p 53:53/udp \
-p 80:8080 \
-v "/home/user/data:/srv/data" \
julianxhokaxhiu/docker-powerdns
```

### Advanced

```
docker run \
--restart=always \
-d \
-e "CUSTOM_DNS=8.8.8.8;8.8.4.4;[2001:4860:4860::8888];[2001:4860:4860::8844]" \
-e "API_KEY=my-awesome-api-key" \
-e "CRONTAB_TIME=0 10 * * *" \
-e "ENABLE_ADBLOCK=true" \
-p 53:53 \
-p 53:53/udp \
-p 80:8080 \
-v "/home/user/data:/srv/data" \
julianxhokaxhiu/docker-powerdns
```