Lan.status.dns.address[N] - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference
Example
lan.restoredefaults()
Also see
lan.reset()
(on page 7-107)
localnode.password

lan.status.dns.address[N]

Reads DNS server IP addresses.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
dnsAddress = lan.status.dns.address[N]
dnsAddress
N
Details
This attribute is an array of DNS server addresses. The system can use up to three addresses.
Unused or disabled entries are returned as "0.0.0.0" when read. The dnsAddress returned is a string specifying
the IP address of the DNS server in dotted decimal notation.
You can only specify two addresses manually. However, the instrument uses up to three DNS server addresses.
If two are specified, only the one given by a DHCP server is used. If no entries are specified here, up to three
address given by a DHCP server are used.
The value of lan.status.dns.address[1] is referenced first for all DNS lookups. The values of
lan.status.dns.address[2] and lan.status.dns.address[3] are referenced second and third,
respectively.
Example
print(lan.status.dns.address[1])
Also see
lan.status.dns.name
7-108
(on page 7-129)
Affected by
Not applicable
DNS server IP address
Entry index (1, 2, or 3)
(on page 7-109)
Models 707B and 708B Switching Matrix Reference Manual
Restores the LAN defaults.
Where saved
Default value
Not applicable
Not applicable
Returns DNS server address 1, such as:
164.109.48.173
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents