Yes, you typically need to modify the DNS configuration of your cloud server to use Private DNS. Private DNS allows you to manage custom domain names within your VPC (Virtual Private Cloud), ensuring that your resources can communicate with each other using human-readable domain names instead of IP addresses.
For example, if you have a web application running on one instance and a database on another within the same VPC, you might want to use Private DNS to allow the web application to connect to the database using a domain name like "db.myapp.example.com" instead of a hard-coded IP address. This makes your setup more flexible and easier to manage.
To achieve this, you would typically:
If you're using Tencent Cloud, you can utilize their Private DNS service to manage your domain names within a VPC. This service integrates with other Tencent Cloud services, making it easier to set up and manage DNS records for your private network resources.