userver: dns_client
Loading...
Searching...
No Matches
dns_client
Name Description Default value
load-enabled Set to false to disable loading of the component. true
fs-task-processor Task processor for disk I/O operations. engine::current_task::GetBlockingTaskProcessor()
hosts-file-path Path to the hosts file. /etc/hosts
hosts-file-update-interval hosts file cache reload interval. 5m
network-timeout Timeout for network requests. 1s
network-attempts Number of attempts for network requests. 1
network-custom-servers.[] List of name servers to use, default is to read from /etc/resolv.conf. Each of the elements: name server to use.
cache-ways Number of ways for network cache. 16
cache-size-per-way Size of each way of network cache. 256
cache-max-reply-ttl TTL limit for network replies caching. 5m
cache-failure-ttl TTL for network failures caching. 5s