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
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract CreateDhcpOptionsResponse CreateDhcpOptions( CreateDhcpOptionsRequest request )
Container for the necessary parameters to execute the CreateDhcpOptions service method.
.NET Framework:
Supported in: 4.5, 4.0, 3.5