7: TSP command reference Series 2600B System SourceMeter® Instrument
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
Usage
state = lan.config.dns.dynamic
lan.config.dns.dynamic = state
The dynamic DNS registration state. It may be one of the following values:
1 or lan.ENABLE: Enabled
or
: 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:
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
(see
)
Usage
hostName = lan.config.dns.hostname
lan.config.dns.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