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

Each tag consists of a key-value pair. The following limits apply to tags:

  • You can add up to 20 tags to each domain name.
  • Tags are case-sensitive.
  • The following limits apply to keys:
    • A key cannot start with aliyun or acs:, contain http:// or https://, or be left unspecified.
    • A key can be up to 64 Unicode characters in length.
    • A key must be unique:
      • If you add two tags that have the same key but different values to a domain name, the later one overwrites the earlier one. For example, if you add Key1:Value1 and then Key1:Value2 to the domain name test.example.com, only the tag Key1:Value2 is added to the domain name test.example.com.
      • If you query a domain name by using two tags that have the same key but different values, the later one overwrites the earlier one. For example, if you query a domain name by using a tag Key1:Value1 and then using a tag Key1:Value2, only the domain name to which the tag Key1:Value2 is added is queried.
  • The following limits apply to values:
    • A value cannot contain http:// or https://, but can be left unspecified.
    • A value can be up to 128 Unicode characters in length.

Features

You can use tags to manage domain names, as described in the following table.
FeatureDescription
Add tags to domain namesAdd tags to one or more domain names to group and manage the domain names.
Remove tags from domain namesRemove tags from domain names if the tags are no longer suitable for managing or filtering domain names.
Use tags to manage domain namesFilter or group domain names based on specific tags.
Query data of domain names by tagUse tags to filter monitoring data such as bandwidth values and cache hit ratios of a specified group of domain names.
Tag use caseCases on how to manage domain names by using tags.