Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-110 2657A-901-01 Rev. B/December 2012
Example
dnsaddress = "164.109.48.173"
lan.config.dns.address[1] = dnsaddress
Configure DNS address 1 to
"164.109.48.173"
Also see
lan.config.dns.domain (on page 7-110)
lan.config.dns.dynamic
(on page 7-110)
lan.config.dns.hostname
(on page 7-111)
lan.config.dns.verify
(on page 7-112)
lan.restoredefaults()
(on page 7-118)
lan.config.dns.domain
Configures the dynamic DNS domain.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes LAN restore defaults Nonvolatile memory ""
Usage
domain = lan.config.dns.domain
lan.config.dns.domain = domain
domain
Dynamic DNS registration domain; use a string of 255 characters or less
Details
This attribute holds the domain to request during dynamic DNS registration. Dynamic DNS registration works
with DHCP to register the domain specified in this attribute with the DNS server.
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 255 characters are allowed, you must
make sure the combined length is also no more than 255 characters.
Example
print(lan.config.dns.domain)
Outputs the present dynamic DNS domain. For
example, if the domain is "Matrix", the response
would be:
Matrix
Also see
lan.config.dns.dynamic (on page 7-110)
lan.config.dns.hostname
(on page 7-111)
lan.config.dns.verify
(on page 7-112)
lan.restoredefaults()
(on page 7-118)
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)