Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-259
You can specify up to two addresses. The address specified by 1 is consulted first for DNS lookups.
dnsAddress must be a string specifying the IP address of the DNS server in dotted decimal
notation.
Unused entries are returned as "0.0.0.0" when read. To disable an entry, set its value to
"0.0.0.0" or the empty string "".
Although only two addresses may be manually specified here, the instrument will use up to three
DNS server addresses. If two are specified here, only one that is given by a DHCP server is used. If
no entries are specified here, up to three addresses that are given by a DHCP server are used.
Example
dnsaddress = "164.109.48.173"
lan.config.dns.address[1] = dnsaddress
Set the DNS address 1 to "164.109.48.173"
Also see
lan.config.dns.domain (on page 11-259)
lan.config.dns.dynamic (on page 11-260)
lan.config.dns.hostname (on page 11-260)
lan.config.dns.verify (on page 11-261)
lan.restoredefaults() (on page 11-265)
lan.config.dns.domain
Configures the dynamic DNS domain.
Usage
domain = lan.config.dns.domain
lan.config.dns.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 11-260)
lan.config.dns.hostname (on page 11-260)
lan.config.dns.verify (on page 11-261)
lan.restoredefaults() (on page 11-265)