SYSTem:COMMunicate:LAN:DNS[{1|2}] "<address>"
SYSTem:COMMunicate:LAN:DNS[{1|2}]? [{CURRent|STATic}]
Assigns static IP addresses of Domain Name System (DNS) servers. A primary and a secondary server
address may be assigned. If DHCP is available and enabled, DHCP will auto-assign these server addresses.
These auto-assigned server addresses take precedence over the static addresses assigned with this com-
mand. Contact your LAN administrator for details.
If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activ-
ate the new setting.
Parameter Typical Return
Command: "nnn.nnn.nnn.nnn". Default: "0.0.0.0".
Query: {CURRent|STATic}. Default: CURRent.
"198.105.232.4"
Set a static primary DNS address:
SYST:COMM:LAN:DNS "198.105.232.4"
SYST:COMM:LAN:UPD
l
CURRent: returns address currently being used by the instrument.
l
STATic: returns static address from non-volatile memory. This address is used if DHCP is disabled or
unavailable.
l SYSTem:SECurity:IMMediate sets this parameter to its default value.
l On the 34460A, this requires option 34460A-LAN or option 3446LANU.
l The assigned DNS server addresses are used if DHCP is disabled or unavailable. Otherwise, the DNS
server addresses are auto-assigned by DHCP.
l The DNS server addresses are stored in nonvolatile memory. They do not change when power has
been off, after a Factory Reset (*RST) or after an Instrument Preset (SYSTem:PRESet).
SYSTem:COMMunicate:LAN:DOMain?
Returns the domain name assigned to the instrument.
Parameter Typical Return
(none) "example.com"
Return the domain name being used by the instrument:
SYST:COMM:LAN:DOM?
l If Dynamic Domain Name System (DNS) is available on your network and your instrument uses DHCP,
the domain name is assigned by the Dynamic DNS service at power-on.
l A null string ("") indicates that no domain name is assigned.
l On the 34460A, this requires option 34460A-LAN or option 3446LANU.
Keysight Truevolt Series Operating and Service Guide
409
SCPI Programming Reference