Change the domain name of a port on a private network
If you connected the network to a zone when you configured DNS on the private network in step 5, you can change the domain name of the port manually. This will update the A- or AAAA record in the zone automatically.
Control panel
OpenStack CLI
-
In the Dashboard, on the top menu, click Products and select Cloud Servers.
-
Go to Network → Private Networks tab.
-
Open the subnet card → Ports tab.
-
In the port bar next to the domain name, click .
-
Enter a new domain name.
-
Click Save.
-
Look at the list of ports in the subnet and copy the ID or name of the desired port:
openstack port list subnet=<subnet>Specify
<subnet>- The ID or name of the subnet, can be viewed with theopenstack subnet listcommand. -
Delete the port:
openstack port set --dns-name <subdomain> <port>Specify:
<subdomain>- new domain name of the port, maximum 63 characters - digits, Latin letters and hyphens;<port>- The ID or name of the port you copied in step 2.