mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-02 14:58:27 +00:00
APIDOCS: minor changes.
This commit is contained in:
@@ -1593,7 +1593,7 @@ WHERE:
|
||||
- `type`: The type of zone to be created. Valid values are [`primary`, `secondary`, `stub`, `forwarder`].
|
||||
- `primaryNameServerAddresses` (optional): List of comma separated IP addresses of the primary name server. This optional parameter is used only with Secondary and Stub zones. If this parameter is not used, the DNS server will try to recursively resolve the primary name server addresses automatically.
|
||||
- `protocol` (optional): The DNS transport protocol to be used by the conditional forwarder zone. This optional parameter is used with Conditional Forwarder zones. Valid values are [`Udp`, `Tcp`, `Tls`, `Https`]. Default UDP protocol is used when this parameter is missing.
|
||||
- `forwarder` (optional): The address of the DNS server to be used as a forwarder. This optional parameter is requred to be used with Conditional Forwarder zones.
|
||||
- `forwarder` (optional): The address of the DNS server to be used as a forwarder. This optional parameter is requred to be used with Conditional Forwarder zones. A special value `this-server` can be used as a forwarder which when used will forward all the requests internally to this DNS server such that you can override the zone with records and rest of the zone gets resolved via This Server.
|
||||
|
||||
RESPONSE:
|
||||
```
|
||||
@@ -1672,7 +1672,7 @@ URL:
|
||||
WHERE:
|
||||
- `token`: The session token generated by the `login` call.
|
||||
- `domain`: The domain name of the zone to add record.
|
||||
- `type`: The DNS resource record type. Supported record types are [`A`, `AAAA`, `MX`, `TXT`, `NS`, `PTR`, `CNAME`, `SRV, `CAA`] and proprietory types [`ANAME`, `FWD`].
|
||||
- `type`: The DNS resource record type. Supported record types are [`A`, `AAAA`, `MX`, `TXT`, `NS`, `PTR`, `CNAME`, `SRV`, `CAA`] and proprietory types [`ANAME`, `FWD`].
|
||||
- `value`: The value for the resource record. This parameter is shared among different types of resource records and thus will mean different values as per the type of record. Example, for type A and AAAA record, the value will be an IP address while for type MX, the value will be the exchange domain name and for type TXT the value will be the text data.
|
||||
- `ttl`: The DNS resource record TTL value. This is the value in seconds that the DNS resolvers can cache the record for.
|
||||
- `preference` (optional): This is the preference value for MX record type. This option is required for adding MX record.
|
||||
|
||||
Reference in New Issue
Block a user