This topic provides an overview of domain name tags. Tags do not carry special definitions. Each tag is a key-value pair that is used to mark or filter domain names. You can use tags to mark, group, filter, and manage domain names.
Limits
Tags have the following limits:
- Each tag is a
key-value
pair. - You can add at most 20 tags to a domain name.
- Among the tags that are added to the same domain name, the key of each tag must be
unique. If two tags have the same key but different values, the later one overwrites
the earlier one. For example, if you create the
Key1:Value1
tag and then theKey1:Value2
tag for thetest.example.com
domain name, only theKey1:Value2
tag is added to the domain name. - A key cannot start with
aliyun
oracs:
, containhttp://
orhttps://
, or be left unspecified. - A value cannot contain
http://
orhttps://
, but can be left unspecified. - A key must be 1 to 64 Unicode characters in length.
- A value must be 0 to 128 Unicode characters in length.
- Tags are case-sensitive.
Features
You can use tags to manage domain names, as described in the following table.
Feature | Description |
---|---|
Add tags to domain names | Add tags to one or more domain names to group and manage the domain names. |
Remove a tag | Remove tags from domain names if the tags are no longer suitable for managing or filtering domain names. |
Use tags to manage domain names | Filter or group domain names based on specific tags. |
Query data of domain names by tag | Use tags to filter monitoring data such as bandwidth values and cache hit ratios of a specified group of domain names. |
Tag use case | Cases on how to manage domain names by using tags. |