File: pdns-backend-sqlite3.README.Debian

package info (click to toggle)
pdns 4.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,876 kB
  • sloc: cpp: 94,929; sh: 5,463; makefile: 2,240; sql: 860; ansic: 668; ruby: 594; yacc: 245; lex: 131; perl: 48; python: 9
file content (23 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Instructions on setting up SQLite3 as a backend for PowerDNS
------------------------------------------------------------

You should create a database yourself and install the schema into
it. On upgrades you should also upgrade the schema.
You can find the upstream recommended schema here:

   /usr/share/pdns-backend-sqlite3/schema

Just create a database, for example in
/var/lib/powerdns/pdns.sqlite3 and feed these SQL commands to
get the default schema:

   sqlite3 /var/lib/powerdns/pdns.sqlite3 < \
     /usr/share/pdns-backend-sqlite3/schema/schema.sqlite3.sql

Then add your data to the database. An example configuration for
PowerDNS is provided in /usr/share/doc/pdns-backend-sqlite3/examples/.

Note: in previous versions, the Debian packages used
dbconfig-common, and you can continue to use dbconfig
created databases, but you will have to upgrade the schema
manually.