

# DnsServersOptionsModifyStructure
<a name="API_DnsServersOptionsModifyStructure"></a>

Information about the DNS server to be used.

## Contents
<a name="API_DnsServersOptionsModifyStructure_Contents"></a>

 ** CustomDnsServers.N **   
The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.  
Type: Array of strings  
Required: No

 ** Enabled **   
Indicates whether DNS servers should be used. Specify `False` to delete the existing DNS servers.  
Type: Boolean  
Required: No

## See Also
<a name="API_DnsServersOptionsModifyStructure_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/ec2-2016-11-15/DnsServersOptionsModifyStructure) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/ec2-2016-11-15/DnsServersOptionsModifyStructure) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/ec2-2016-11-15/DnsServersOptionsModifyStructure) 