|
@@ -77,7 +77,7 @@ bind [::]:53
|
|
|
# cache-persist no
|
|
|
|
|
|
# cache persist file
|
|
|
-# cache-file /tmp/smartdns.cache
|
|
|
+# cache-file /var/cache/smartdns.cache
|
|
|
|
|
|
# cache persist time
|
|
|
# cache-checkpoint-time [second]
|
|
@@ -93,11 +93,11 @@ bind [::]:53
|
|
|
|
|
|
# cache serve expired TTL
|
|
|
# serve-expired-ttl [num]
|
|
|
-# serve-expired-ttl 0
|
|
|
+# serve-expired-ttl 86400
|
|
|
|
|
|
# reply TTL value to use when replying with expired data
|
|
|
# serve-expired-reply-ttl [num]
|
|
|
-# serve-expired-reply-ttl 30
|
|
|
+# serve-expired-reply-ttl 3
|
|
|
|
|
|
# List of hosts that supply bogus NX domain results
|
|
|
# bogus-nxdomain [ip/subnet]
|
|
@@ -187,7 +187,7 @@ log-level info
|
|
|
# audit-enable yes
|
|
|
# audit-SOA [yes|no]: enable or disable log soa result.
|
|
|
# audit-size size of each audit file, support k,m,g
|
|
|
-# audit-file /var/log/smartdns-audit.log
|
|
|
+# audit-file /var/log/smartdns/smartdns-audit.log
|
|
|
# audit-console [yes|no]: output audit log to console.
|
|
|
# audit-syslog [yes|no]: output audit log to syslog.
|
|
|
# audit-file-mode [mode]: file mode of audit file.
|
|
@@ -436,6 +436,10 @@ log-level info
|
|
|
# group-match [-g|group group-name] [-domain domain] [-client-ip [ip-cidr|mac|ip-set]]
|
|
|
# group-end
|
|
|
|
|
|
+# data directory
|
|
|
+# data-dir [path]
|
|
|
+# data-dir /var/lib/smartdns
|
|
|
+
|
|
|
# load plugin
|
|
|
# plugin [path/to/file] [args]
|
|
|
|