'section' : 'recursor',
'type' : LType.String,
'default' : 'SYSCONFDIR',
+ 'docdefault': 'Determined by distribution',
'help' : 'Location of configuration directory (recursor.conf or recursor.yml)',
'doc' : '''
Location of configuration directory (where ``recursor.conf`` or ``recursor.yml`` is stored).
'section' : 'nod',
'oldname' : 'new-domain-history-dir',
'type' : LType.String,
- 'default' : '/usr/local/var/lib/pdns-recursor/nod',
+ 'default' : 'NODCACHEDIRNOD',
+ 'docdefault': 'Determined by distribution',
'help' : 'Persist new domain tracking data here to persist between restarts',
'doc' : '''
This setting controls which directory is used to store the on-disk
The default depends on ``LOCALSTATEDIR`` or the ``--with-socketdir`` setting when building (usually ``/var/run`` or ``/run``).
When using :ref:`setting-chroot` the default becomes ``/``.
+The default value is overruled by the ``RUNTIME_DIRECTORY`` environment variable when that variable has a value (e.g. under systemd).
''',
},
{
'doc' : '''
Prefer structured logging when both an old style and a structured log messages is available.
''',
- 'versionadded': '4.6.0'
+ 'versionadded': '4.6.0',
+ 'versionchanged': ('5.0.0', 'Disabling structured logging is deprecated'),
},
{
'name' : 'structured_logging_backend',
'name' : 'unique_response_history_dir',
'section' : 'nod',
'type' : LType.String,
- 'default' : '/usr/local/var/lib/pdns-recursor/udr',
+ 'default' : 'NODCACHEDIRUDR',
+ 'docdefault': 'Determined by distribution',
'help' : 'Persist unique response tracking data here to persist between restarts',
'doc' : '''
This setting controls which directory is used to store the on-disk