Difference between revisions of "Powerdns Docker"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
https://makarainen.net/PowerDNS-pdnsutil-cheat-sheet | https://makarainen.net/PowerDNS-pdnsutil-cheat-sheet | ||
+ | ``` | ||
+ | apt-get -y install pdns-backend-pgsql pdns-backend-sqlite3 postgresql-client sqlite3 | ||
+ | ``` | ||
pdns.conf | pdns.conf |
Revision as of 23:30, 8 March 2023
https://github.com/pschiffe/docker-pdns
https://makarainen.net/PowerDNS-pdnsutil-cheat-sheet
apt-get -y install pdns-backend-pgsql pdns-backend-sqlite3 postgresql-client sqlite3
pdns.conf
webserver-port=8081 api=yes api-key=foothis launch=gsqlite3 gsqlite3-database=/tmp/db.sqlite3 local-address=0.0.0.0:5353 # security-poll-suffix= # include-dir=/etc/powerdns/pdns.d # launch=
sqlite3 /tmp/db.sqlite3 < /usr/share/pdns-backend-sqlite3/schema/schema.sqlite3.sql
pdnsutil create-zone foo.example.com pdnsutil add-record foo.example.com @ A 192.168.1.2 dig +short foo.example.com -p 5353 @127.0.0.1