104 lines
2.8 KiB
Scheme
104 lines
2.8 KiB
Scheme
;; Option-File for DNSD:
|
|
;; ---------------------
|
|
|
|
;; Options can be reloaded using the POSIX-Signal USR1.
|
|
|
|
|
|
;; External option representation <datum>:
|
|
;; ---------------------------------------
|
|
|
|
;; (options
|
|
;; [dir string]
|
|
;; [nameservers list-of-ip-strings]
|
|
;; [use-axfr boolean]
|
|
;; [use-cache boolean]
|
|
;; [cleanup-interval time-in-sec]
|
|
;; [retry-interval time-in-sec]
|
|
;; [use-db boolean]
|
|
;; [use-recursion boolean]
|
|
;; [rec-timeout time-in-s]
|
|
;; [socket-timeout time-in-s]
|
|
;; [socket-max-tries integer]
|
|
;; [max-connections integer]
|
|
;; [blacklist-time time-in-s]
|
|
;; [blacklist-value integer]
|
|
;; [use-pre/post boolean])
|
|
|
|
;; [...] indicates an optional list.
|
|
|
|
|
|
;; Semantic:
|
|
;; ---------
|
|
|
|
;; (dir string)
|
|
;; Path to the directory with this configuration files.
|
|
;; Standard value is "." - the dir where dnsd was started or the
|
|
;; directory which was passed to (dnsd-start <optional-dir>)
|
|
|
|
;; (nameservers list-of-ip-strings)
|
|
;; A list of nameserver-IPs used for recursive lookups.
|
|
;; Standard value is a list of root-nameservers.
|
|
|
|
;; (use-axfr boolean)
|
|
;; Toggles to answer to axfr-requests. Default value is #t.
|
|
|
|
;; (use-cache boolean)
|
|
;; Toggles caching of responses. Default value is #t.
|
|
|
|
;; (cleanup-interval time-in-sec)
|
|
;; Clean the cache and slist after X seconds. Default value is 1h.
|
|
|
|
;; (retry-interval time-in-sec)
|
|
;; Minimum value in seconds to trigger zone-reloads. This can override
|
|
;; the value of some masterfiles. Default value is 1h.
|
|
|
|
;; (use-db boolean boolean)
|
|
;; Toggle the usage of the local database. Default value is on - #t.
|
|
|
|
;; (use-recursion boolean)
|
|
;; Switch the recursive-lookup on/off. Default value is on - #t.
|
|
|
|
;; (rec-timeout time-in-sec)
|
|
;; Global timeout for a recursive lookup. Default is 10 seconds.
|
|
|
|
;; (socket-timeout time-in-sec)
|
|
;; Timeout for one lookup during a recursive lookup. Default is 2 seconds.
|
|
|
|
;; (socket-max-tries integer)
|
|
;; Maximum nuber of tries to establish a connection for recursive lookups.
|
|
;; Default value is 3.
|
|
|
|
;; (max-connection integer)
|
|
;; Maximum concurrent connections for each UDP and TCP. Default is 25.
|
|
|
|
;; (blacklist-time time-in-sec)
|
|
;; How long will a bad NS be blacklisted/not used? Default is 30 min.
|
|
|
|
;; (blacklist-value integer)
|
|
;; How often, before a bad NS will be ignored? Default is 5 times.
|
|
|
|
;; (use-pre/post boolean)
|
|
;; Toggles load of pre- and post-processing files. Default is off - #f.
|
|
|
|
;; all args are optional. If not given, the def. value will be used.
|
|
|
|
|
|
;; Some examples:
|
|
;; --------------
|
|
;;
|
|
;; (options (nameservers ("192.168.2.1" "192.168.2.2"))
|
|
;; (use-axfr #t)
|
|
;; (use-cache #t)
|
|
;; (cleanup-interval 666)
|
|
;; (use-recursion #t)
|
|
;; (use-db #f)
|
|
;; (use-pre/post #f))
|
|
;;
|
|
;; (options) == use the default values.
|
|
;;
|
|
|
|
;; OPTION-DEFINITIONS:
|
|
|
|
(options)
|
|
|