Create a DHCP options set
You can create a DHCP (Dynamic Host Configuration Protocol) options set to associate with a VPC (Virtual Private Cloud). You can specify one or more NTP (Network Time Protocol) servers and DNS (Domain Name System) servers to use, along with a corresponding domain name.
Numspot automatically provides a default DHCP options set. However, you can create as many custom sets as you want.
You can associate a DHCP options set with a VPC to customize the DHCP configuration used with the VM (Virtual Machine) created in that VPC.
Permissions
This action requires the following IAM (Identity and Access Management) permissions:
- compute.dhcpOptions.create
- Console
- API
- Terraform
- From the left-hand side menu, click Network → DHCP Options to access the list of DHCP options sets.
- Click the Create DHCP options button.
- (Optional) In the "Domain name" field, enter the domain name of the DHCP options set. Leave the field empty to use the Numspot domain name.
- In the "Domain name servers" list, select:
- "Continue with a default DNS" to use the Numspot domain name;
- "Select one or more DNS" to use a custom domain name.
- Specify at least one of the following values:
- (Optional) In the "NTP servers" field, enter the IP (Internet Protocol) addresses of one or more NTP servers;
- (Optional) In the "Log servers" field, enter the IP addresses of one or more log servers.
- Click Next.
- Review the settings of the DHCP options set.
- Click Create.
A confirmation message appears at the bottom of the page indicating that the DHCP options set has been created.
Specifying the same information as an existing DHCP options set creates a new set with a different ID.
The POST /compute/spaces/{spaceId}/dhcpOptions command creates a DHCP options set, which you can then associate with a network using the method to modify a VPC.
The Terraform documentation is available on the Numspot registry ↗.