Specifications

Chapter 2 Command System RIGOL
M300 Programming Guide 2-203
SYSTem:COMMunicate:LAN:DNS
Syntax SYSTem:COMMunicate:LAN:DNS "<address>"
SYSTem:COMMunicate:LAN:DNS? [{CURRent|STATic}]
Description
Set or query the DNS (Domain Name Service).
Parameters
Name
Type
Range
Default
<address>
ASCII
string
The format is nnn.nnn.nnn.nnn;
the first nnn ranges from 1 to 223 (except
127), the other three range from 0 to 255.
None
Explanation This command is only available when the manual IP configuration mode is enabled.
You are recommended to ask your network administrator for an address available.
The command has two optional parameters. Use "CURRent" to query the DNS address
currently set (the
SYSTem:COMMunicate:LAN:UPDate command is not executed). Use
"STATic" to query the DNS address currently stored in the non-volatile memory (refer
to
Appendix C: Non-volatile Memory). When the parameter is omitted, the system
queries the DNS address currently set.
The DNS address is stored in the non-volatile memory (refer to
Appendix C:
Non-volatile Memory) and does not change when the power has been off, after a
Factory Reset (send the
*RST command) or after an Instrument Preset (send the
SYSTem:PRESet command).
Return
Format
The query returns the current DNS address, for example, 172.16.3.2”.
Example
SYST:COMM:LAN:DNS 172.16.3.2
SYST:COMM:LAN:DNS? CURR
The query returns 172.16.3.2.
Related
commands
SYSTem:COMMunicate:LAN:MANUip
SYSTem:COMMunicate:LAN:GATEway
SYSTem:COMMunicate:LAN:IPADdress
SYSTem:COMMunicate:LAN:SMASk