Add sqlite-backend.conf
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2024-01-08 15:25:51 +01:00
parent d93123a391
commit 7348d2b05f
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ USER pdns
# Set up database - this needs to be smarter # Set up database - this needs to be smarter
RUN sqlite3 /var/lib/powerdns/pdns.sqlite3 < /usr/share/doc/pdns/schema.sqlite3.sql RUN sqlite3 /var/lib/powerdns/pdns.sqlite3 < /usr/share/doc/pdns/schema.sqlite3.sql
COPY sqlite-backend.conf /etc/powerdns/pdns.d
# Default DNS ports # Default DNS ports
EXPOSE 53/udp EXPOSE 53/udp
EXPOSE 53/tcp EXPOSE 53/tcp

2
sqlite-backend.conf Normal file
View File

@ -0,0 +1,2 @@
launch=gsqlite3
gsqlite3-database=/var/lib/powerdns/pdns.sqlite3