A DTC NAPTR object represents a DNS Traffic Control Naming Authority Pointer (DTC NAPTR) resource record. This resource record specifies a regular expression-based rewrite rule that, when applied to an existing string, produces a new domain name or URI.
Parameter dtc_server is required for object searches.
References to dtc:record:naptr are object references.
The name part of the DTC NAPTR Record object reference has the following components:
- The name of the DTC Server object with which the record is associated
- The order parameter of the record
- The preference of the record
- The replacement field of the record
Example: dtc:record:naptr/ZG5zLmJpbmRfY25h:dtcserver/111/222/replacement
The object does not support the following operations:
The object cannot be managed on Cloud Platform members.
These fields are actual members of the object; thus, they can be requested by using _return_fields, if the fields are readable.
The basic version of the object contains the field(s): dtc_server, order, preference, regexp, replacement, services.
The following fields are required to create this object:
Field | Notes |
---|---|
dtc_server | |
order | |
preference | |
replacement |
Comment for the record; maximum 256 characters.
Type
String.
Values with leading or trailing white space are not valid for this field.
Create
The default value is empty.
Search
The field is available for search via
Determines if the record is disabled or not. False means that the record is enabled.
Type
Bool.
Create
The default value is False.
Search
The field is not available for search.
The name of the DTC Server object with which the DTC record is associated.
Type
String.
Create
The field is required on creation.
Search
The field is available for search via
Notes
The dtc_server is part of the base object.
The dtc_server cannot be updated.
The flags used to control the interpretation of the fields for an NAPTR record object. Supported values for the flags field are “U”, “S”, “P” and “A”.
Type
String.
Values with leading or trailing white space are not valid for this field.
Create
The default value is An empty string.
Search
The field is available for search via
The order parameter of the NAPTR records. This parameter specifies the order in which the NAPTR rules are applied when multiple rules are present. Valid values are from 0 to 65535 (inclusive), in 32-bit unsigned integer format.
Type
Unsigned integer.
Create
The field is required on creation.
Search
The field is available for search via
Notes
The order is part of the base object.
The preference of the NAPTR record. The preference field determines the order the NAPTR records are processed when multiple records with the same order parameter are present. Valid values are from 0 to 65535 (inclusive), in 32-bit unsigned integer format.
Type
Unsigned integer.
Create
The field is required on creation.
Search
The field is available for search via
Notes
The preference is part of the base object.
The regular expression-based rewriting rule of the NAPTR record. This should be a POSIX compliant regular expression, including the substitution rule and flags. Refer to RFC 2915 for the field syntax details.
Type
String.
Values with leading or trailing white space are not valid for this field.
Create
The default value is An empty string.
Search
The field is not available for search.
Notes
The regexp is part of the base object.
The replacement field of the NAPTR record object. For nonterminal NAPTR records, this field specifies the next domain name to look up. This value can be in unicode format.
Type
String.
Values with leading or trailing white space are not valid for this field.
Create
The field is required on creation.
Search
The field is available for search via
Notes
The replacement is part of the base object.
The services field of the NAPTR record object; maximum 128 characters. The services field contains protocol and service identifiers, such as “http+E2U” or “SIPS+D2T”.
Type
String.
Values with leading or trailing white space are not valid for this field.
Create
The default value is An empty string.
Search
The field is available for search via
Notes
The services is part of the base object.
Field | Type | Req | R/O | Base | Search |
---|---|---|---|---|---|
comment | String | N | N | N | : = ~ |
disable | Bool | N | N | N | N/A |
dtc_server | String | Y | N | Y | = |
flags | String | N | N | N | : = ~ |
order | Unsigned int | Y | N | Y | < = > |
preference | Unsigned int | Y | N | Y | < = > |
regexp | String | N | N | Y | N/A |
replacement | String | Y | N | Y | = ~ |
services | String | N | N | Y | : = ~ |
ttl | Unsigned int | N | N | N | N/A |
use_ttl | Bool | N | N | N | N/A |