mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
updated api docs.
This commit is contained in:
@@ -151,7 +151,7 @@ RESPONSE:
|
|||||||
```
|
```
|
||||||
{
|
{
|
||||||
"response": {
|
"response": {
|
||||||
"version": "7.0",
|
"version": "7.1",
|
||||||
"dnsServerDomain": "server1",
|
"dnsServerDomain": "server1",
|
||||||
"dnsServerLocalEndPoints": [
|
"dnsServerLocalEndPoints": [
|
||||||
"0.0.0.0:53",
|
"0.0.0.0:53",
|
||||||
@@ -165,6 +165,7 @@ RESPONSE:
|
|||||||
"webServiceEnableTls": false,
|
"webServiceEnableTls": false,
|
||||||
"webServiceHttpToTlsRedirect": false,
|
"webServiceHttpToTlsRedirect": false,
|
||||||
"webServiceTlsPort": 53443,
|
"webServiceTlsPort": 53443,
|
||||||
|
"webServiceUseSelfSignedTlsCertificate": false,
|
||||||
"webServiceTlsCertificatePath": null,
|
"webServiceTlsCertificatePath": null,
|
||||||
"webServiceTlsCertificatePassword": "************",
|
"webServiceTlsCertificatePassword": "************",
|
||||||
"enableDnsOverHttp": false,
|
"enableDnsOverHttp": false,
|
||||||
@@ -258,6 +259,7 @@ WHERE:
|
|||||||
- `webServiceHttpPort` (optional): Specify the TCP port number for the web console and this API web service. Default value is `5380`.
|
- `webServiceHttpPort` (optional): Specify the TCP port number for the web console and this API web service. Default value is `5380`.
|
||||||
- `webServiceEnableTls` (optional): Set this to `true` to start the HTTPS service to acccess web service.
|
- `webServiceEnableTls` (optional): Set this to `true` to start the HTTPS service to acccess web service.
|
||||||
- `webServiceTlsPort` (optional): Specified the TCP port number for the web console for HTTPS access.
|
- `webServiceTlsPort` (optional): Specified the TCP port number for the web console for HTTPS access.
|
||||||
|
- `webServiceUseSelfSignedTlsCertificate` (optional): Set `true` for the web service to use an automatically generated self signed certificate when TLS certificate path is not specified.
|
||||||
- `webServiceTlsCertificatePath` (optional): Specify a PKCS #12 certificate (.pfx) file path on the server. The certificate must contain private key. This certificate is used by the web console for HTTPS access.
|
- `webServiceTlsCertificatePath` (optional): Specify a PKCS #12 certificate (.pfx) file path on the server. The certificate must contain private key. This certificate is used by the web console for HTTPS access.
|
||||||
- `webServiceTlsCertificatePassword` (optional): Enter the certificate (.pfx) password, if any.
|
- `webServiceTlsCertificatePassword` (optional): Enter the certificate (.pfx) password, if any.
|
||||||
- `enableDnsOverHttp` (optional): Enable this option to accept DNS-over-HTTP requests for both wire and json response formats. It must be used with a TLS terminating reverse proxy like nginx and will work only on private networks.
|
- `enableDnsOverHttp` (optional): Enable this option to accept DNS-over-HTTP requests for both wire and json response formats. It must be used with a TLS terminating reverse proxy like nginx and will work only on private networks.
|
||||||
|
|||||||
Reference in New Issue
Block a user