Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-111
Usage
state
= lan.config.dns.dynamic
lan.config.dns.dynamic =
state
state
The dynamic DNS registration state. It may be one of the following values:
1
or
lan.ENABLE
: Enabled
0
or
lan.DISABLE
: Disabled
Details
Dynamic DNS registration works with DHCP to register the host name with the DNS server. The host name is
specified in the
lan.config.dns.hostname
attribute.
Example
print(lan.config.dns.dynamic)
Outputs the dynamic registration state.
If dynamic DNS registration is enabled, the
response is:
1.00
Also see
(on page 7-111)
lan.config.dns.hostname
This attribute defines the dynamic DNS host name.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
Instrument specific
(see
Details
)
Usage
hostName
= lan.config.dns.hostname
lan.config.dns.hostname =
hostName
hostName
The host name to use for dynamic DNS registration; the host name must:
•
be a string of 15 characters or less
•
start with a letter
•
end with a letter or digit
•
contain only letters, digits, and hyphens
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 factory default value 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-2657A
-
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 15 characters can be entered here,
care must be taken to be sure the combined length is no more than 255 characters.
Setting this attribute to an empty string (in other words, setting this attribute to a string of length zero, or one
consisting entirely of whitespace characters) will revert the host name to the factory default value.
Summary of Contents for 2657A
Page 3: ......