Skip to content

Instantly share code, notes, and snippets.

@json-m
Created December 23, 2017 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save json-m/215860facc694c2943646ecf2ec56874 to your computer and use it in GitHub Desktop.
Save json-m/215860facc694c2943646ecf2ec56874 to your computer and use it in GitHub Desktop.
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