A naming policy value is an individual part of a resource record name, such as a specific character, an incremented number, a number or text entered by the user, or a value selected from the predefined list. You use one or more naming policy values to create a naming policy.
Attention: You
must create naming policy values before you can create a naming
policy.
To create a naming policy value:
- Select the Settings tab in the sidebar.
- Under DNS settings, select Naming policies.
- Select the Naming policy values tab.
-
Select New, then select a value type from the drop-down
menu. New fields appear depending on the type of value. The following types are
available:
Connector value
A connector value is a character used to separate elements in a filename; typically, - (hyphen) or _ (underscore) are used.When connector value is selected, the following fields appear:- Name—enter a descriptive name for the policy value.
- Connector—enter one or more connector characters.
Incremental value
An incremental value is an automatically incremented numeric value. You can use incremental values to number names sequentially or to generate unique values to ensure that names are unique.When incremental value is selected, the following fields appear:- Name—enter a descriptive name for the policy value.
- Incremental role—select
Counter to make the value a sequential counter,
or select Unique name to use the value to ensure that
names are unique. When you select Counter, the value
starts at a specified value and increments each time the
naming policy creates a name. When you select Unique
name, the value increments only to ensure that
generated names are unique.
- When you select Unique name, a Reuse missing values check box appears. When the check box is selected, the naming policy reuses numeric values if they're available. For example, a value may be used to create a name for a host record; when the host record is deleted, the value is again available for use. When not selected, the Unique name value always creates a new numeric value, and values that have been deleted aren't re-used.
- Increment type—select a number system for the incremental value: Decimal or Hexadecimal.
- Sequence start—enter the starting value for the incremental value.
- Sequence increment—enter the amount by which to increment the value each time it's used.
- Padding type—select Simple to
pad the incremental value with a fixed number of leading
zeros, or select Global to pad the incremental value
with leading zeros to make the entire name generated by the
policy a specific length. For example, simple padding with a
length of 4 produces a four-digit number padded with leading
zeros. Global padding with a length of 30 produces an
overall name length of 30 characters with the incremental
value padded out with as many zeros as needed to make the
name total length 30 characters.
- Padding length—appears when you select a padding type. For simple padding, type a value to determine how many digits are used for the incremental value. For global padding, type a value to determine the overall length of the name generated by the naming policy.
Integer value
An integer value is a numeric value. You can limit the number to a range.When integer value is selected, the following fields appear:- Name—enter a descriptive name for the policy value.
- Range start—enter the start value for the numeric range.
- Range end—enter the end value for the numeric range. When set to zero (0), the range is unbounded.
Required value
A required value is a list of predefined values presented to the user as a drop-down list. You can create the list with user-friendly display names and separate values, and you can order the items in the list.When required value is selected, the following fields appear:- Name—enter a descriptive name for the policy value.
- Display name same as value—when selected, the display name and value for items in the list will be the same. Select this option when the values in the list are self-explanatory. For example, if you want to list the proper names of cities and insert the proper name into the naming policy, select this option to create a list of proper names. What the user sees in the naming policy list is what will be inserted into the generated name. Leave this option unselected when you need a descriptive name for abstract values. For example, if you want to list the proper names of cities, but insert an abbreviation of the names into the naming policy, create a list of proper display names and abbreviated values. The user is presented with a list of proper names, but the abbreviation of the name is inserted into the generated name.
- Display name—enter a display name for the value provided in the field below. This field appears when Display name same as value is not selected.
- Value—enter the value to be inserted
into the name created by the naming policy.Note: When using the Required value type, the Value to be inserted into the name of the naming policy must not exceed 63 characters. A value exceeding 63 characters might prevent creation of resource records with the linked naming policy.
- Select the Add (+) button to add the item to the value list. Select the Remove (X) button to remove an item from the list.
Text value
A connector value is a string of text. You can set minimum and maximum length requirements for the string or can enforce content with a regular expression.When connector value is selected, the following fields appear:- Name—enter a descriptive name for the policy value.
- Text type—select
length to enforce minimum and
maximum length requirements. Select Regular
expression to enforce content with a regular
expression.
- When length is selected, the
following fields appear:
- Minimum length—enter a value to determine the shortest string allowed in the name. When set to zero (0), the text string is optional.
- Maximum length—enter a value to determine the longest string allowed in the name. When set to zero (0), the range is unbounded.
- When Regular expression is
selected, the following fields appear:
- Regular expression—enter a regular expression to restrict the text string.
- When length is selected, the
following fields appear:
- In the Change control section, add comments if required.
- Select Create to create the naming policy value and return to the naming policy values page. Select Create and add another to create the naming policy value and remain in the window to create additional naming policy values of the same type.