Help Center> Domain Name Service> User Guide> Record Sets> Searching for Record Sets

Searching for Record Sets

Scenarios

You can quickly search for record sets on the DNS console. You can click the search box to select the search method and search attribute.

  • Search method: exact match and fuzzy match
  • Search attributes include domain name, value (record set value), health check ID (supported only by record sets in public zones), status, type, and tag.

This topic describes how to search for record sets.

Search Syntax

Record sets support multiple types of searches. You need to learn about the search types, attributes, and syntax. For details about the search syntax and examples, see Table 1.

  • Search method: exact match and fuzzy match
  • Search attribute: domain name, value (record set value), ID (record set ID), health check ID, status, type, or tag
    • Attributes that support exact match: domain name, value (record set value), ID (record set ID), health check ID (supported only by record sets in public zones), status, type, and tag You must enter a complete attribute value for exact match.
    • Attributes that support fuzzy match: domain name and value (record set value)

When filtering record sets by tag, you can select a key or key-value pair for search. Multiple tags can be set.

If keys are different, tags are automatically joined with AND.

If keys are the same but values are different, tags are also automatically joined with AND.

Table 1 Record set search syntax

Search Type

Supported Attribute

Input Format

Example

Description

Enter an attribute value but do not select an attribute.

Fuzzy search by domain name is used by default.

Attribute value

example.com

If no search attribute is selected and only an attribute value is entered, fuzzy match is performed based on the domain name by default.

Single attribute

All attributes on the console

Attribute: Attribute value

Status: Normal

Select an attribute and enter the attribute information. The system performs an exact match.

Fuzzy search is supported for domain names and record set values.

Multiple attributes

All attributes on the console

Attribute: Value & Attribute: Value

Status: Normal Name: example.com

You can search by multiple attributes and the attributes are in AND relationship.

Fuzzy search is supported for domain names and record set values.

Procedure

  1. Go to the DNS console.
  2. On the Dashboard page, click Record Sets.

    The Public Zone Record Sets tab is displayed. You can also click Private Zone Record Sets tab.

    Alternatively, on the Public Zones or Private Zones page, click the domain name to go to the Record Sets tab.

  1. In the search box of the record set, select a search attribute, such as Domain name, ID, Status, and Tag. Enter an attribute value and click .

Example 1: Searching by Attribute Value

After you enter an attribute value, the system performs fuzzy match by domain name by default.

On the record set list page, enter a domain name in the search box and click .

For example, enter example123 and press Enter, fuzzy match based on example123 is performed by default.

Example 2: Searching by a Single Attribute

After selecting an attribute, enter the attribute information.

The following attributes support only exact match: ID (record set ID), health check ID (supported only by record sets in public zones), status, type, and tag. You need to enter complete attribute values.

  • Fuzzy search: Fuzzy search by domain name and value (record set value) is supported.
    1. In the search box on the record set list page, select Value.
    2. Enter the record set value and click . Fuzzy search is supported. For example, if you enter 1.2.3, all record sets using 1.2.3 will be displayed.
  • Exact search: status
    1. In the search box on the record set list page, select Status.
    2. Select a status and click .

Example 3: Search by Multiple Attributes

You can search by multiple attributes and the attributes are in AND relationship.

The following attributes support only exact match: ID (record set ID), health check ID (supported only by record sets in public zones), status, type, and tag. You need to enter complete attribute values.

In this example, both value and status are used for search.

  1. In the search box on the record set list page, select Value and enter a value. Click for search. Fuzzy search is used for the domain name.
  2. Add a filter criterion by selecting Status, enter a status, and click .

Example 4: Search by Tag

You can search record sets by tag key or by key-value pair.

You can add one or more tags. If keys are different, tags are automatically joined with AND.

If keys are the same but values are different, tags are also automatically joined with AND.

  • Search by a single tag.

    In the search box on the record set list page, select Tag, select a tag key-value pair, and click OK.

  • Search by multiple tags.

    In the search box on the record set list page, select Tag, select multiple tags, and click OK.

    Search for record sets with tags of your choice.