Handlers that controls the DNS client.
The component has no service configuration except the common handler options.
Static configuration example:
# yaml
handler-dns-client-control:
path: /service/dnsclient/{command}
method: POST
task_processor: monitor-task-processor
Schema
Set an URL path argument command
to one of the following values:
reload_hosts
- to reload hosts file cache
flush_cache
- to remove network cache records for name
specified as a query parameter
flush_cache_full
- to completely wipe network cache
Definition at line 37 of file dns_client_control.hpp.