User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-192 3700S-901-01 Rev. C / July 2008
lan.config.dns.address[index]
Usage
To read the IP address:
dnsaddress = lan.config.dns.address[index]
To write the IP address:
lan.config.dns.address[index] = dnsaddress
index: Entry index (1 or 2)
dnsaddress: DNS server IP address.
Remarks
This attribute is an array of DNS server addresses. These addresses take priority for
DNS lookups and will be consulted before any server addresses obtained using
DHCP. This allows local DNS servers to be specified that take priority over DHCP
configured global DNS servers.
Up to two addresses may be specified. The address specified by index 1 will be
consulted first for DNS lookups (the [index] must be either 1 or 2).
Details
NOTE 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 "".
NOTE Although only two address may be manually specified here, the unit will use
up to three DNS server addresses. If two are specified here, only one
given by a DHCP server will be used. If no entries are specified here, up
to three address given by a DHCP server will be used.
Also see
lan.config.dns.domain (on page 13-192)
lan.config.dns.dynamic (on page 13-193)
lan.config.dns.hostname (on page 13-193)
lan.config.dns.verify (on page 13-194)
Example
To write a DNS address of 164.109.48.173 as address 1:
dnsaddress = '164.109.48.173'
lan.config.dns.address[1] = dnsaddress
lan.config.dns.domain
Attribute
Configures Dynamic DNS domain.
Usage
To read the present dynamic DNS domain:
domain = lan.config.dns.domain
To write the dynamic DNS domain:
lan.config.dns.domain = domain
domain: Dynamic DNS registration domain. Use a string of 255 characters or less.