Difference between revisions of "Powerdns Docker"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "https://github.com/pschiffe/docker-pdns")
 
Line 1: Line 1:
 
https://github.com/pschiffe/docker-pdns
 
https://github.com/pschiffe/docker-pdns
 +
 +
 +
https://makarainen.net/PowerDNS-pdnsutil-cheat-sheet
 +
 +
 +
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
 +
```

Revision as of 23:30, 8 March 2023

https://github.com/pschiffe/docker-pdns

https://makarainen.net/PowerDNS-pdnsutil-cheat-sheet

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