Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-129
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-2602B-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 63 characters can
be entered here, you must make 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 a string that consists entirely of whitespace characters) reverts the host name to the factory
default value.
Example
print(lan.config.dns.hostname)
Outputs the present dynamic DNS host name.
Also see
lan.config.dns.domain (on page 9-127)
lan.config.dns.dynamic (on page 9-128)
lan.restoredefaults() (on page 9-136)
lan.config.dns.verify
This attribute defines the DNS host name verification state.
Usage
state = lan.config.dns.verify
lan.config.dns.verify = state
DNS hostname verification state:
â–ª 1 or lan.ENABLE: DNS host name verification enabled
â–ª 0 or lan.DISABLE: DNS host name verification disabled
Details
When this is enabled, the instrument performs DNS lookups to verify that the DNS host name
matches the value specified by lan.config.dns.hostname.
Example
print(lan.config.dns.verify)
Outputs the present DNS host name verification state.
If it is enabled, the output is:
1.00000e+00