Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-106 2651A-901-01 Rev. A / March 2011
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-106)
lan.config.dns.hostname
(on page 7-107)
lan.config.dns.verify
(on page 7-107)
lan.restoredefaults()
(on page 7-114)
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 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.00000e+00
Also see
lan.config.dns.hostname (on page 7-107)
lan.restoredefaults()
(on page 7-114)