# Data Object - HostDnsConfigSpec(vim.host.DnsConfigSpec)

Extends
  HostDnsConfig
See also
  HostVirtualNicConnection
Since
  vSphere API 4.0

## Data Object Description

Dataobject for configuring the DNS settings on the host.

Properties

Name | Type | Description
--- | --- | ---
virtualNicConnection* | HostVirtualNicConnection | Choose a Virtual nic based on what it is connected to.
virtualNicConnectionV6* | HostVirtualNicConnection | Choose an IPv6 Virtual nic based on what it is connected to. Since vSphere API 6.7
Properties inherited from HostDnsConfig
address, dhcp, domainName, hostName, ipv6VirtualNicDevice, searchDomain, virtualNicDevice
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="HostDnsConfigSpec"> <complexContent> <extension base="vslm:HostDnsConfig"> <sequence> <element name="virtualNicConnection" type="vslm:HostVirtualNicConnection" minOccurs="0"/> <element name="virtualNicConnectionV6" type="vslm:HostVirtualNicConnection" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>