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