User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-194 3700S-901-01 Rev. C / July 2008
lan.config.dns.hostname
Attribute
Configures Dynamic DNS hostname.
Usage
To read Dynamic DNS hostname:
hostname = lan.config.dns.hostname
To write Dynamic DNS hostname:
lan.config.dns.hostname = hostname
hostname: Hostname to use for dynamic DNS registration. The hostname:
must be a string of 255 characters or less
start with a letter
end with a letter or digit
contain only letters, digits, and hyphens
Remarks
This attribute holds the hostname to request during dynamic DNS registration.
Dynamic DNS registration works with DHCP to register the hostname specified in this
attribute with the DNS server.
NOTE The length of the fully qualified host name (combined length of the domain
and hostname with separator character) must be less than or equal to 255
characters. Although up to 255 characters can be given here, care must
be taken to be sure the combined length is also no more than 255
characters.
Also see
lan.config.dns.dynamic (on page 13-193)
Example
To display the present Dynamic DNS hostname:
print(lan.config.dns.hostname)
lan.config.dns.verify
Attribute
Configures DNS hostname verification state.
Usage
To read DNS hostname verification state:
state = lan.config.dns.verify
To write DNS hostname verification state:
lan.config.dns.verify = state
state: DNS hostname verification state.state may be one of the following values:
lan.ENABLE or 1: Enables DNS hostname verification.
lan.DISABLE or 0: Disables DNS hostname verification.
Remarks
This attribute is used to enable or disable DNS hostname verification. If enabled, the
unit will perform DNS lookups to verify that the DNS hostname matches the value
specified by lan.config.dns.hostname (on page 13-193).
Also see
lan.config.dns.hostname (on page 13-193)
Example
To display present DNS hostname verification state:
print(lan.config.dns.verify)