AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
domain-name-servers - The IP addresses of up to four domain
name servers, or AmazonProvidedDNS. The default DHCP option set specifies
AmazonProvidedDNS. If specifying more than one domain name server, specify
the IP addresses in a single parameter, separated by commas.domain-name
- If you're using AmazonProvidedDNS in us-east-1, specify ec2.internal.
If you're using AmazonProvidedDNS in another region, specify region.compute.internal
(for example, ap-northeast-1.compute.internal). Otherwise, specify a
domain name (for example, MyCompany.com). Important: Some Linux
operating systems accept multiple domain names separated by spaces. However, Windows
and other Linux operating systems treat the value as a single domain, which results
in unexpected behavior. If your DHCP options set is associated with a VPC that has
instances with multiple operating systems, specify only one domain name.ntp-servers - The IP addresses of up to four Network Time Protocol (NTP)
servers.netbios-name-servers - The IP addresses of up to four
NetBIOS name servers.netbios-node-type - The NetBIOS node
type (1, 2, 4, or 8). We recommend that you specify 2 (broadcast and multicast are
not currently supported). For more information about these node types, see RFC
2132.
Your VPC automatically starts out with a set of DHCP options that includes only a
DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and
if your VPC has an Internet gateway, make sure to set the domain-name-servers
option either to AmazonProvidedDNS or to a domain name server of your
choice. For more information about DHCP options, see DHCP
Options Sets in the Amazon Virtual Private Cloud User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateDhcpOptionsRequest : AmazonEC2Request IRequestEvents
The CreateDhcpOptionsRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
CreateDhcpOptionsRequest() | Empty constructor used to set properties independently even when a simple constructor is available |
|
CreateDhcpOptionsRequest(List<DhcpConfiguration>) |
| Name | Type | Description | |
|---|---|---|---|
|
DhcpConfigurations | System.Collections.Generic.List<Amazon.EC2.Model.DhcpConfiguration> |
Gets and sets the property DhcpConfigurations.
A DHCP configuration option. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8