-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Parameters
Peter Klein edited this page Dec 23, 2022
·
1 revision
The configuration file syringe.yml directives:
| Directive | Type | Default | Description |
|---|---|---|---|
| TimeoutMillisecons | uint32 | 5000 | Timeout for sent dns packets |
| RetryTimes | uint32 | 0 | Number of retries after timeout (TimeoutMillisecons) |
| ResolverIp | string | 127.0.0.1 | IP of the server to send dns packets to |
| PinMinTtl | uint32 | 10 | If a dns response returns a ttl < PinMinTtl, then set ttl = PinMinTtl |
| StaticDelaySeconds | uint32 | 600 | Apply a static delay of StaticDelaySeconds when using a strategy which uses the static delay |
| FlexibleDelayMinTtlSeconds | uint32 | 120 | Lower bound for the flexible delay (delay -> d >= FlexibleDelayMinTtlSeconds && d <= FlexibleDelayMaxTtlSeconds) |
| FlexibleDelayMaxTtlSeconds | uint32 | 300 | Upper bound for the flexible delay (delay -> d >= FlexibleDelayMinTtlSeconds && d <= FlexibleDelayMaxTtlSeconds) |
| SleepLowTresholdMilliseconds | int64 | 1000 | Time in milliseconds for which the process will sleep when the queue is empty |
| SleepLowTresholdCheckIntervalMilliseconds | int64 | 50 | Interval in milliseconds when the process will scan the queue for due elements |
| ServerListenPort | int | 8000 | Port on which the daemon/api will listen |
| DomainsFile | string | "" | File from which to load the domains into the cache |
| LoadDomainsFileOnStart | bool | false | Whether to load the entries from the domains file into the cache. The domains file contains entries to load into the cache separated by newline. Each entry has to be in the format " <rr type - capital>" - example: "google.de A" |
| LoadDomainsFileInitialQueryLimit | uint32 | 50 | Whether to load the entries from the domains file into the cache. The domains file contains entries to load into the cache separated by newline. Each entry has to be in the format " <rr type - capital>" - example: "google.de A" |
| LogLevel | uint32[1-8] | 3 (WARN) | LogLevel for programm logs (default to stdout/stderr) - see https://github.com/sirupsen/logrus |