Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
powerdns compose file
pdns:
image: secns/pdns
links:
- "pdnsdb:db"
ports:
- "53:53"
- "53:53/udp"
dns: 9.9.9.9
environment:
- PDNS_ALLOW_AXFR_IPS=127.0.0.1
- PDNS_DISTRIBUTOR_THREADS=3
- PDNS_CACHE_TTL=20
- PDNS_RECURSIVE_CACHE_TTL=1
- PDNS_MASTER=yes
- VIRTUAL_HOST=x.ns.xax.li
pdnsdb:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=password1
volumes:
- /mnt/pdns-mysql/:/var/lib/mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.