Merge pull request #179 in DNS/adguard-dns from feature/637 to master

* commit 'bc0b0af06b71197d75c8a7f8c3a401d4c8a49d61':
  + client: added name for client
  - openapi: fix typo
  + control: /clients: get the list of clients' IP addresses and names from /etc/hosts
This commit is contained in:
Andrey Meshkov
2019-03-22 14:27:15 +03:00
11 changed files with 216 additions and 9 deletions

View File

@@ -1136,6 +1136,7 @@ func registerControlHandlers() {
http.HandleFunc("/control/dhcp/find_active_dhcp", postInstall(optionalAuth(ensurePOST(handleDHCPFindActiveServer))))
RegisterTLSHandlers()
RegisterClientsHandlers()
http.HandleFunc("/dns-query", postInstall(handleDOH))
}