Scenarios

Change the subnet name and DNS server address.

NOTE: 

The method to visit the subnet module varies by region.

  • In some regions, you can perform operations on subnets on the Subnets tab of the VPC details page. This is used as the example of the operation procedure in this section.
  • In some regions, under Network on the console homepage, click Virtual Private Cloud. On the displayed network console, click Subnets in the navigation pane on the left, then you can perform operations on the subnet.

Procedure

  1. Log in to the management console.
  2. On the console homepage, under Network, click Virtual Private Cloud.
  3. In the navigation pane on the left, click Virtual Private Cloud.
  4. On the Virtual Private Cloud page, locate the VPC for which a subnet is to be modified and click the VPC name.
  5. In the subnet list, locate the target subnet and click Modify. Modify the parameters as prompted.
    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Name

    Specifies the subnet name.

    The VPC flow log name can contain a maximum of 64 characters, which may consist of letters, digits, underscores (_), hyphens (-), and periods (.). The name cannot contain spaces.

    Subnet

    DNS Server Address

    By default, there are two DNS server addresses configured (including two private DNS server addresses or one private DNS server address and one public DNS server address. A private DNS server address takes precedence over a public DNS server address). In this way, services in the VPC can access cloud services through the private DNS server address, reducing the latency. If you want to use other public DNS servers for resolution, you can change the default DNS server addresses.

    100.125.x.x

  6. Click OK.