User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-200 3700S-901-01 Rev. C / July 2008
lan.status.dns.address[N]
Details
NOTE Unused or disabled entries will be returned as "0.0.0.0" when read.
dnsaddress returned is a string specifying the DNS server‟s IP address in
dotted decimal notation.
NOTE Although only two address may be manually specified, 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)
Example
To display present DNS address 1 (if it equals 164.109.48.173):
print(lan.status.dns.address[1]
164.109.48.173
lan.status.dns.hostname
Attribute
Reads present DNS fully qualified host name.
Usage
To read Dynamic DNS hostname:
hostname = lan.status.dns.hostname
hostname: Fully qualified DNS hostname.
Remarks
This attribute holds the fully qualified DNS host name that can be used to reach the
unit. This name includes the DNS domain. If a DNS host name for the unit was not
found, this attribute will hold the IP address in dotted decimal notation.
Also see
lan.config.dns.hostname (on page 13-193)
Example
To display the present Dynamic DNS hostname:
print(lan.status.dns.name)
lan.status.duplex
Attribute
Reads present status of LAN duplex mode.
Usage
To read LAN duplex mode:
duplex = lan.status.duplex
duplex: LAN duplex setting can be one of the following values:
lan.FULL or 1: full-duplex operation.
lan.HALF or 0: half-duplex operation.
Remarks
This attribute indicates which duplex mode is currently in use by the LAN interface.
Also see
lan.status
Example
To display present LAN duplex mode:
print(lan.status.duplex)
1.000000000e+000