Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-128 2600BS-901-01 Rev. F/August 2021
lan.config.dns.dynamic
Enables or disables the dynamic DNS registration.
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
â–ª 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.00000e+00
Also see
lan.config.dns.hostname (on page 9-128)
lan.restoredefaults() (on page 9-136)
lan.config.dns.hostname
This attribute defines the dynamic DNS host name.
Instrument specific (see Details)
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