Help Center> Domain Name Service> User Guide> Private Zones> Searching for a Private Zone

Searching for a Private Zone

Scenarios

You can quickly search for private zones 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: domain name, ID, status, tag, and enterprise project

This topic describes how to search for private zones.

Search Syntax

Private zones 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 attributes: domain name, ID, status, tag, and enterprise project
    • The following attributes support exact match: domain name, ID, status, tag, and enterprise project. You must enter a complete attribute value for exact match.
    • Attribute that supports fuzzy match: domain name

When filtering domain names 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 Public zone 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 match is supported only by domain name.

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 match is supported only by domain name.

Procedure

  1. Go to the Private Zones page.
  2. Click on the upper left and select the desired region and project.
  3. In the search box, select an attribute, such as domain name, ID, status, or tag, enter a 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 Private Zones 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, status, tag, and enterprise project. You need to enter complete attribute values.

  • Fuzzy match: Only the domain name supports fuzzy match.
    1. On the Private Zones page, select Domain name from the drop-down list of the search box.
    2. Enter a domain name and click . For example, if you enter example123, all public zones that use example123 are displayed.
  • Exact search: ID
    1. On the Private Zones page, select ID from the drop-down list of the search box.
    2. Enter the complete private zone ID 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, status, tag, and enterprise project. You need to enter complete attribute values.

In this example, both domain name and zone ID are used for search.

  1. On the Private Zones page, select Domain name from the drop-down list of the search box, and enter a domain name. Click for search. Fuzzy search is used for the domain name.
  2. Add a filter criterion by selecting ID, enter a zone ID, and click .

Example 4: Search by Tag

You can search public zones 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.

    On the Private Zones page, select Tag, choose a tag, and click OK for search.

  • Search by multiple tags.

    On the Private Zones page, select Tag, choose multiple tags, and click OK for search.

    Search for private zones with tags of your choice.