Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-114
2600BS-901-01 Rev. B / May 2013
Also see
lan.config.dns.dynamic
(on page 7-114)
lan.config.dns.hostname
(on page 7-114)
lan.config.dns.verify
(on page 7-115)
lan.restoredefaults()
(on page 7-121)
lan.config.dns.dynamic
Enables or disables the dynamic DNS registration.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
1 (lan.ENABLE)
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
lan.config.dns.hostname
(on page 7-114)
lan.restoredefaults()
(on page 7-121)
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 63 characters or less
•
start with a letter
•
end with a letter or digit
•
contain only letters, digits, and hyphens
Содержание System SourceMeter 2601B
Страница 841: ......