Hostsvc/net/dns info: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(New page: ==== vimsh hostsvc/net/dns_info ==== Usage: dns_info Get the DNS configuration. Category: Vimsh)
 
(added example output)
 
Line 3: Line 3:


Get the DNS configuration.
Get the DNS configuration.
==== example output ====
# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/net/dns_info
(vim.host.DnsConfig) {
    dynamicType = <unset>,
    dhcp = true,
    virtualNicDevice = "Management Network",
    hostName = "localhost",
    domainName = "example.com",
    address = (string) [
      "10.10.10.1",
      "10.10.10.177"
    ],
    searchDomain = (string) [
      "example.com"
    ],
}
[[Category: Vimsh]]
[[Category: Vimsh]]

Latest revision as of 14:27, 4 January 2009

vimsh hostsvc/net/dns_info

Usage: dns_info

Get the DNS configuration.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/net/dns_info
(vim.host.DnsConfig) {
   dynamicType = <unset>,
   dhcp = true,
   virtualNicDevice = "Management Network",
   hostName = "localhost",
   domainName = "example.com",
   address = (string) [
      "10.10.10.1",
      "10.10.10.177"
   ],
   searchDomain = (string) [
      "example.com"
   ],
}