dtc:record:naptr : DTC NAPTR Record object.

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.

Note

Parameter dtc_server is required for object searches.

Object Reference

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

Restrictions

The object does not support the following operations:

The object cannot be managed on Cloud Platform members.

Fields

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

comment

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

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

disable

disable

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.

dtc_server

dtc_server

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

  • ‘=’ (exact equality)

Notes

The dtc_server is part of the base object.

The dtc_server cannot be updated.

flags

flags

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

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

order

order

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

  • ‘=’ (exact equality)
  • ‘<=’ (less than search)
  • ‘>=’ (greater than search)

Notes

The order is part of the base object.

preference

preference

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

  • ‘=’ (exact equality)
  • ‘<=’ (less than search)
  • ‘>=’ (greater than search)

Notes

The preference is part of the base object.

regexp

regexp

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.

replacement

replacement

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

  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The replacement is part of the base object.

services

services

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

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The services is part of the base object.

ttl

ttl

The Time to Live (TTL) value.

Type

Unsigned integer.

Create

The default value is empty.

Search

The field is not available for search.

Notes

ttl is associated with the field use_ttl (see use flag).

use_ttl

use_ttl

Use flag for: ttl

Type

Bool.

Create

The default value is False.

Search

The field is not available for search.

Fields List

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