Lan.config.dns.hostname; Lan.config.dns.verify - Keithley 2651A Reference Manual

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

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual

lan.config.dns.hostname

This attribute defines the dynamic DNS host name.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
hostName = lan.config.dns.hostname
lan.config.dns.hostname = hostName
hostName
Details
This attribute holds the host name to request during dynamic DNS registration. Dynamic DNS registration works
with DHCP to register the host name specified in this attribute with the DNS server.
The format for hostName is "k-<model number>-<serial number>", where <model number> and
<serial number> are replaced with the actual model number and serial number of the instrument (for
example, "k-707B-1234567"). Note that hyphens separate the characters of hostName.
The length of the fully qualified host name (combined length of the domain and host name with separator
characters) must be less than or equal to 255 characters. Although up to 255 characters can be entered here,
care must be taken to be sure the combined length is also no more than 255 characters.
Example
print(lan.config.dns.hostname)
Also see
lan.config.dns.dynamic
lan.restoredefaults()

lan.config.dns.verify

This attribute defines the DNS host name verification state.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
state = lan.config.dns.verify
lan.config.dns.verify = state
state
2651A-901-01 Rev. A / March 2011
Affected by
LAN restore defaults
The host name to use for dynamic DNS registration; the host name must:
be a string of 255 characters or less
start with a letter
end with a letter or digit
contain only letters, digits, and hyphens
(on page 7-106)
(on page 7-114)
Affected by
LAN restore defaults
DNS hostname verification state:
1 or lan.ENABLE: DNS host name verification enabled
0 or lan.DISABLE: DNS host name verification disabled
Where saved
Nonvolatile memory
Outputs the present dynamic DNS host name.
Where saved
Nonvolatile memory
Section 7: Command reference
Default value
Instrument-specific
(see Details)
Default value
lan.ENABLE
7-107

Advertisement

Table of Contents
loading

Table of Contents