Last updated on: 2023-07-24 10:18:39.
DNS_Cache (object)¶
Configures a DNS cache
Properties (* = required):
| name | type(s) | default | allowed values | description |
|---|---|---|---|---|
| /*/ | ||||
| class* | string | “DNS_Cache” | ||
| label | string | “^[^x00-x1fx22#&*<>?x5b-x5d`x7f]*$” | Optional friendly name for this object. Allows 0-64 chars, excluding a few likely to cause trouble with string searching, JS, TCL, or HTML | |
| remark | string | “^[^x00-x1fx22x5cx7f]*$” | Arbitrary (brief) text pertaining to this object. Allows 0-64 chars, excluding only control characters, double-quote, and backslash. This is permissive enough that you should worry about XSS attacks | |
| type* | string | “transparent” | Type of DNS cache |
DNS_Cache_Transparent (object)¶
Properties for a DNS transparent cache
Properties (* = required):
| name | type(s) | default | allowed values | description |
|---|---|---|---|---|
| /*/ | ||||
| answerDefaultZones | boolean | false | true, false | Specifies whether the system answers DNS queries for the default zones localhost, reverse 127.0.0.1 and ::1, and AS112 |
| localZones | object | Configures resource records that a DNS cache uses to resolve matching DNS queries with authoritative DNS responses | ||
| messageCacheSize | integer | 1048576 | 0 - 4294967295 | Specifies the maximum size of the message cache in bytes |
| recordCacheSize | integer | 10485760 | 1 - 4294967295 | Specifies the maximum size of the resource record (RR) cache in bytes |
| recordRotationMethod | string | “none” | “none”, “query-id” | Specifies the resource record rotation method used within cached responses |
DNS_Cache_Transparent.localZones (object)¶
Configures resource records that a DNS cache uses to resolve matching DNS queries with authoritative DNS responses
Properties (* = required):
| name | type(s) | default | allowed values | description |
|---|---|---|---|---|
| /*/ | object | Configures resource records that a DNS cache uses to resolve matching DNS queries with authoritative DNS responses |
DNS_Cache_Transparent.localZones./*/ (object)¶
Configures resource records that a DNS cache uses to resolve matching DNS queries with authoritative DNS responses
Properties (* = required):
| name | type(s) | default | allowed values | description |
|---|---|---|---|---|
| /*/ | ||||
| records | array | A or AAAA record entry | ||
| type | string | “transparent” | “deny”, “redirect”, “refuse”, “static”, “transparent”, “type-transparent” | Describes how the cache handles a non-matching query for the local zone |
DNS_Zone_Local (object)¶
Configures resource records that a DNS cache uses to resolve matching DNS queries with authoritative DNS responses
Properties (* = required):
| name | type(s) | default | allowed values | description |
|---|---|---|---|---|
| /*/ | ||||
| records | array | A or AAAA record entry | ||
| type | string | “transparent” | “deny”, “redirect”, “refuse”, “static”, “transparent”, “type-transparent” | Describes how the cache handles a non-matching query for the local zone |