# Data Object - NetDnsConfigInfo(vim.net.DnsConfigInfo)

Property of
  GuestNicInfo, GuestStackInfo
Extends
  DynamicData
Since
  vSphere API 4.1

## Data Object Description

Domain Name Server (DNS) Configuration Specification - a data object for reporting the configuration of RFC 1034 client side DNS settings.

Properties

Name | Type | Description
--- | --- | ---
dhcp | xsd:boolean | Indicates whether or not dynamic host control protocol (DHCP) is used to configure DNS configuration.
domainName | xsd:string | The domain name portion of the DNS name. "example.com" part of esx01.example.com.
hostName | xsd:string | The host name portion of DNS name. For example, "esx01" part of esx01.example.com.
ipAddress* | xsd:string[] | The IP addresses of the DNS servers in order of use. IPv4 addresses are specified using dotted decimal notation. For example, "192.0.2.1". IPv6 addresses are 128-bit addresses represented as eight fields of up to four hexadecimal digits. A colon separates each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the symbol '::' to represent multiple 16-bit groups of contiguous 0's only once in an address as described in RFC 2373.
searchDomain* | xsd:string[] | The domain in which to search for hosts, placed in order of preference.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="NetDnsConfigInfo"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="dhcp" type="xsd:boolean"/> <element name="hostName" type="xsd:string"/> <element name="domainName" type="xsd:string"/> <element name="ipAddress" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="searchDomain" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>