SYSTem:COMMunicate:LAN:DNS
Syntax
SYSTem:COMMunicate:LAN:DNS[{1|2}] "<address>"
SYSTem:COMMunicate:LAN:DNS[{1|2}]? [{CURRent | STATic}]
Description
This command assigns the static IP addresses of the Domain Name System (DNS) servers. A primary and a
secondary server address may be assigned. Contact your network administrator to determine if DNS is
being used and for the correct addresses. If DHCP is available and enabled, DHCP will auto-assign the
DNS server addresses. These auto-assigned DNS server addresses take precedence over the static DNS
addresses assigned with this command.
If you change the DNS addresses, you must send the SYSTem:COMMu-
nicate:LAN:UPDate command to activate the new settings.
Parameters
Name Type Range of Values Default Value
<address> Quoted String Specified in four-byte dot notation
("nnn.nnn.nnn.nnn"),
where "nnn" in each case is a byte value
in the range
0 through 255.
This is a required para-
meter
Remarks
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 Dot-notation addresses ("nnn.nnn.nnn.nnn" where "nnn" is a byte value) must be expressed with care,
as most web software on the PC will interpret byte values with leading zeros as octal numbers. For
example, "255.255.020.011" is actually equivalent to decimal "255.255.16.9" not "255.255.20.11"
because ".020" is interpreted as "16" expressed in octal, and ".011" as "9". To avoid confusion, use only
decimal expressions of byte values (0 to 255), with no leading zeros.
For example, the instrument assumes that all dot-notation addresses are expressed as decimal byte val-
ues and strips all leading zeros from these byte values. Thus, attempting to set an IP address of
"255.255.020.011" will become "255.255.20.11" (a purely decimal expression). Be sure to enter the
exact expression, "255.255.20.11", in your PC web software to address the instrument. Do not use
"255.255.020.011" – the PC will interpret this address differently due to the leading zeros.
l The DNS server addresses are stored in non-volatile memory, and do not change when power has been
off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
Keysight 53220A/53230A Programmer's Reference 407
SYSTem:COMMunicate:LAN:DNS