# Data Object - HostNatServiceNameServiceSpec(vim.host.NatService.NameServiceSpec)

Property of
  HostNatServiceSpec
Extends
  DynamicData
Since
  VI API 2.5

## Data Object Description

This data object type specifies the information for the name servers.

Properties

Name | Type | Description
--- | --- | ---
dnsAutoDetect | xsd:boolean | The flag to indicate whether or not the DNS server should be automatically detected or specified explicitly.
dnsNameServer* | xsd:string[] | The list of DNS servers.
dnsPolicy | xsd:string | The policy to use when multiple DNS addresses are available on the host.
dnsRetries | xsd:int | The number of retries before giving up on a DNS request from a virtual network.
dnsTimeout | xsd:int | The time (in seconds) before retrying a DNS request to an external network.
nbdsTimeout | xsd:int | The time (in seconds) allotted for queries to the NetBIOS Datagram Server (NBDS).
nbnsRetries | xsd:int | Number of retries for each query to the NBNS.
nbnsTimeout | xsd:int | The time (in seconds) allotted for queries to the NBNS.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostNatServiceNameServiceSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="dnsAutoDetect" type="xsd:boolean"/> <element name="dnsPolicy" type="xsd:string"/> <element name="dnsRetries" type="xsd:int"/> <element name="dnsTimeout" type="xsd:int"/> <element name="dnsNameServer" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="nbdsTimeout" type="xsd:int"/> <element name="nbnsRetries" type="xsd:int"/> <element name="nbnsTimeout" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>