blob: 84c5abb99f9571f9755e968c75b9e74218e2dca0 [file] [log] [blame]
Shock Jiang3c723182014-09-10 16:41:18 -07001Database Management Hints
2=========================
3
4Pre-requisites
5--------------
6
7``sqlite3`` installed
8
9
10Create the database
11-------------------
12
13Set the attribute ``dbfile`` in the NDNS configuration file, e.g., ``${SYSCONFDIR}/ndn/ndns.conf`` (``/etc/ndn/ndns.conf``), to the desired path of the database file.
14By default, ``dbfile`` is assigned to ``${LOCALSTATEDIR}/lib/ndns/ndns.db`` (``/var/lib/ndns/ndns.db``).
15
16When NDNS started, an empty database will be automatically created.
17
18Reset the database
19------------------
20
21Remove the database file.