Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-111
lan.config.dns.address[N]
Configures DNS server IP addresses.
Usage
dnsAddress = lan.config.dns.address[N]
lan.config.dns.address[N] = "dnsAddress"
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.
dnsAddress must be a string specifying the IP address of the DNS server in dotted decimal
notation.
Unused entries are returned as "0.0.0.0" when read. To disable an entry, set its value to
"0.0.0.0" or the empty string "".
Although only two addresses 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.
Example
dnsaddress = "164.109.48.173"
lan.config.dns.address[1] = dnsaddress
Set the DNS address 1 to "164.109.48.173"
Also see
lan.config.dns.domain (on page 11-112)
lan.config.dns.dynamic (on page 11-112)
lan.config.dns.hostname (on page 11-113)
lan.config.dns.verify (on page 11-114)
lan.restoredefaults() (on page 11-121)