
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-133
lan.config.dns.address[N]
Attribute
Configures DNS server IP addresses.
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 via 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 9-133)
lan.config.dns.dynamic
(on page 9-134)
lan.config.dns.hostname
(on page 9-134)
lan.config.dns.verify
(on page 9-135)
Example
To write a DNS address of 164.109.48.173 as address 1:
dnsaddress = '164.109.48.173'
lan.config.dns.address[index] = 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.