Return Format
The query returns 0 or 1.
Examples
:SYSTem:COMMunicate:LAN:DHCP:STATe ON /*Enables the DHCP mode.*/
:SYSTem:COMMunicate:LAN:DHCP:STATe? /*Queries the on/off status of
the DHCP mode. The query returns 1.*/
3.12.4.3
:SYSTem:COMMunicate:LAN:DNS
Syntax
:SYSTem:COMMunicate:LAN:DNS <
:SYSTem:COMMunicate:LAN:DNS?
Description
Sets or queries the domain name server (DNS) address.
Parameter
Name
<dns>
Remarks
•
The format of <dns> is nnn.nnn.nnn.nnn; wherein, the first nnn ranges from 1
to 223 (excluding 127), and the other three range from 0 to 255.
•
You are recommended to ask your network administrator for an address
available.
•
When Static IP mode is enabled with both DHCP and Auto IP disabled, the DNS
address is used.
•
After sending this command, execute
apply the current network setting for the new parameters to take effect.
Return Format
The query returns the DNS address, for example, 172.16.3.2.
Examples
:SYSTem:COMMunicate:LAN:DNS 172.16.3.2 /*Sets the DNS address to
172.16.3.2.*/
:SYSTem:COMMunicate:LAN:DNS? /*Queries the current DNS address.
The query returns 172.16.3.2.*/
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
dns >
Type
Range
ASCII string
Refer to
Remarks
:SYSTem:COMMunicate:LAN:UPDate
DG800 Pro/DG900 Pro Programming
Command System
Default
-
to
Guide
169