mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-02-11 10:23:59 +00:00
Merge branch 'develop' of https://github.com/TechnitiumSoftware/DnsServer into develop
This commit is contained in:
@@ -1386,7 +1386,7 @@ RESPONSE:
|
||||
This call returns the top stats data for specified stats type.
|
||||
|
||||
URL:
|
||||
`http://localhost:5380/api/getStats?token=x&type=lastHour&statsType=TopClients&limit=1000`
|
||||
`http://localhost:5380/api/getTopStats?token=x&type=lastHour&statsType=TopClients&limit=1000`
|
||||
|
||||
WHERE:
|
||||
- `token`: The session token generated by the `login` call.
|
||||
@@ -3351,7 +3351,7 @@ WHERE:
|
||||
- `server`: The name server to query using the DNS client.
|
||||
- `domain`: The domain name to query.
|
||||
- `type`: The type of the query.
|
||||
- `protocol` (optional): The DNS transport protocol to be used to query. Valid values are [`Udp`, `Tcp`, `Tls`, `Https`]. The default value of `Udp` is used when the parameter is missing.
|
||||
- `protocol` (optional): The DNS transport protocol to be used to query. Valid values are [`Udp`, `Tcp`, `Tls`, `Https`, `HttpsJson`]. The default value of `Udp` is used when the parameter is missing.
|
||||
- `dnssec` (optional): Set to `true` to enable DNSSEC validation.
|
||||
- `import` (optional): This parameter when set to `true` indicates that the response of the DNS query should be imported in the an authoritative zone on this DNS server. Default value is `false` when this parameter is missing. If a zone does not exists, a primary zone for the `domain` name is created and the records from the response are set into the zone. Import can be done only for primary and forwarder type of zones. When `type` is set to AXFR, then the import feature will work as if a zone transfer was requested and the complete zone will be updated as per the zone transfer response. Note that any existing record type for the given `type` will be overwritten when syncing the records. It is recommended to use `recursive-resolver` or the actual name server address for the `server` parameter when importing records.
|
||||
|
||||
@@ -4000,4 +4000,4 @@ RESPONSE:
|
||||
"response": {},
|
||||
"status": "ok"
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user