Lan.status.dns.name - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
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

lan.status.dns.name
This attribute contains the present DNS fully qualified host name.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
hostName = lan.status.dns.name
hostName
Details
A fully qualified domain name (FQDN), sometimes referred to as an absolute domain name, is a domain name
that specifies its exact location in the tree hierarchy of the Domain Name System (DNS).
A FQDN is the complete domain name for a specific computer or host on the LAN. The FQDN consists of two
parts: the host name and the domain name.
If the DNS host name for an instrument is not found, this attribute stores the IP address in dotted decimal
notation.
Example
print(lan.status.dns.name)
Also see
lan.config.dns.address[N]
lan.config.dns.hostname
7-116
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-116)
Affected by
Not applicable
Fully qualified DNS host name that can be used to connect to the instrument
(on page 7-104)
(on page 7-107)
Outputs DNS server address 1, such as:
164.109.48.173
Where saved
Default value
Not applicable
Not applicable
Outputs the dynamic DNS host name.
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents