Section 7: Command reference
Example
print(lan.config.dns.domain)
Also see
lan.config.dns.dynamic
lan.config.dns.hostname
lan.config.dns.verify
lan.restoredefaults()
lan.config.dns.dynamic
Enables or disables the dynamic DNS registration.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
state = lan.config.dns.dynamic
lan.config.dns.dynamic = state
state
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)
Also see
lan.config.dns.hostname
lan.restoredefaults()
7-100
(on page 7-100)
(on page 7-101)
(on page 7-101)
(on page 7-107)
Affected by
LAN restore defaults
The dynamic DNS registration state. It may be one of the following values:
•
lan.ENABLE or 1: Enabled
•
lan.DISABLE or 0: Disabled
(on page 7-101)
(on page 7-107)
Models 707B and 708B Switching Matrix Reference Manual
Returns the present dynamic DNS domain. For
example, if the domain is "Matrix", the response
would be:
Matrix
Where saved
Nonvolatile memory
Returns the dynamic registration state.
If dynamic DNS registration is enabled, the
response is:
1.0000000e+00
Default value
lan.ENABLE
707B-901-01 Rev. A / August 2010