+ whois: add WHOIS information for a client
+ return WHOIS info in GET /clients response
This commit is contained in:
@@ -650,6 +650,10 @@ Response:
|
||||
safesearch_enabled: false
|
||||
use_global_blocked_services: true
|
||||
blocked_services: [ "name1", ... ]
|
||||
whois_info: {
|
||||
key: "value"
|
||||
...
|
||||
}
|
||||
}
|
||||
]
|
||||
auto_clients: [
|
||||
@@ -657,10 +661,16 @@ Response:
|
||||
name: "host"
|
||||
ip: "..."
|
||||
source: "etc/hosts" || "rDNS"
|
||||
whois_info: {
|
||||
key: "value"
|
||||
...
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Supported keys for `whois_info`: orgname, country, city.
|
||||
|
||||
|
||||
### Add client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user