beautypg.com

System:communicate:lan:dns, System:communicate:lan:domain – RIGOL DG1000Z Series User Manual

Page 204

background image

RIGOL

Chapter 2 Command System

2-192

DG1000Z Programming Guide

:SYSTem:COMMunicate:LAN:DNS

Syntax

:SYSTem:COMMunicate:LAN:DNS

:SYSTem:COMMunicate:LAN:DNS?

Description

Set the DNS (Domain Name Service) address.
Query the DNS address.

Parameter

Name

Type

Range

Default

ASCII string

Refer to the “Explanation”

None

Explanation

 This command is only valid when the ManualIP configuration mode is turned on

(

:SYSTem:COMMunicate:LAN:STATic[:STATe]

).

 The format of

is nnn.nnn.nnn.nnn; wherein, the first nnn ranges

from 1 to 223 (except 127) and the other three nnn range from 0 to 255.

It is

recommended that users acquire an available DNS address from their network

administrator.

 After sending this command, the new settings will only take effect when

the

:SYSTem:COMMunicate:LAN:APPLy

command is executed to apply the

current network parameters.

Return Format

The query returns a string, for example, 202.106.46.151.

Example

:SYST:COMM:LAN:DNS 202.106.46.151 /*Set the DNS address to

202.106.46.151*/

:SYST:COMM:LAN:DNS? /*Query the DNS address and the query

returns 202.106.46.151*/

Related

Commands

:SYSTem:COMMunicate:LAN:APPLy

:SYSTem:COMMunicate:LAN:STATic[:STATe]

:SYSTem:COMMunicate:LAN:DOMain

Syntax

:SYSTem:COMMunicate:LAN:DOMain

:SYSTem:COMMunicate:LAN:DOMain?

Description

Set the domain name.
Query the domain name.

Parameter

Name

Type

Range

Default

ASCII string

Refer to the “Explanation”

YYYRigolLan

Explanation

is the specified domain name and cannot exceeds 99 characters (can

include English characters and numbers).

Return Format

The query returns a string.

Example

:SYST:COMM:LAN:DOM RIGOL /*Set the domain name to RIGOL*/
:SYST:COMM:LAN:DOM? /*Query the domain name and the query

returns RIGOL*/