Model 2651A High Power System SourceMeter® Instrument Reference Manual Section 7: Command reference
2651A-901-01 Rev. A / March 2011 7-105
Usage
dnsAddress = lan.config.dns.address[N]
lan.config.dns.address[N] = dnsAddress
dnsAddress
DNS server IP address
N
Entry index (1 or 2)
Details
This attribute is an array of DNS (domain name system) server addresses. These addresses take priority for
DNS lookups and are consulted before any server addresses that are obtained using DHCP. This allows local
DNS servers to be specified that take priority over DHCP-configured global DNS servers.
You can specify up to two addresses. The address specified by 1 is consulted first for DNS lookups.
Unused entries will be returned as "0.0.0.0" when read. dnsAddress must be a string specifying the DNS
server’s IP address in dotted decimal notation. To disable an entry, set its value to "0.0.0.0" or the empty
string "".
Although only two address may be manually specified here, the instrument will use up to three DNS server
addresses. If two are specified here, only one that is given by a DHCP server is used. If no entries are specified
here, up to three addresses that are given by a DHCP server are used. The IP address obtained from the DHCP
server takes priority for all DNS lookups.
Example
dnsaddress = "164.109.48.173"
lan.config.dns.address[1] = dnsaddress
Write a DNS address of 164.109.48.173 as
address 1.
Set the DNS address to dnsaddress
Also see
lan.config.dns.domain (on page 7-105)
lan.config.dns.dynamic (on page 7-106)
lan.config.dns.hostname
(on page 7-107)
lan.config.dns.verify
(on page 7-107)
lan.restoredefaults()
(on page 7-114)
lan.config.dns.domain
Configures the dynamic DNS domain.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes LAN restore defaults Nonvolatile memory ""
Usage
domain = lan.config.dns.domain
lan.config.dns.domain = domain
domain
Dynamic DNS registration domain; use a string of 255 characters or fewer