DNS_SETTING

DNS_PRIMARY, DNS_SECONDARY

Description

> Get or Set Primary or Secondary DNS (Domain Name Server) IP addresses.

> If the CHANNEL=n was set with this URL to the Multi-Channel device, the Router's DNS configurations will be returned.

Input Argument

> IPv4 Addressing (xxx.xxx.xxx.xxx)

Attribute

- Readable and Writable (except video server devices in Multi-Channel Platform)
- On-Fly (except all devices in WPL Platform)

Return of Message

- Read Operation

> DNS_PRIMARY='168.95.1.1'
> DNS_SECONDARY=''

- Write Operation

> OK: DNS_PRIMARY='168.95.1.1'
> OK: DNS_SECONDARY=''
> or
> ERROR: DNS_PRIMARY='168.95.1.1'
> ERROR: DNS_SECONDARY=''

Applicability

- WPL Platform : All Devices
- EPL Platform : All Devices
- PlatformT : All Devices
- Multi-Channel Encoder : All Devices (Read-Only)

Status

> Valid

See Also

> DNS, WAN_STATUS, V2_WAN_STATUS

Example

- Read Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DNS_PRIMARY
> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DNS_SECONDARY
> or
> http://ip:port/cgi-bin/cmd/system?DNS_PRIMARY
> http://ip:port/cgi-bin/cmd/system?DNS_SECONDARY

- Write Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DNS_PRIMARY='168.95.1.1'
> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DNS_SECONDARY=''
> or
> http://ip:port/cgi-bin/cmd/system?DNS_PRIMARY='168.95.1.1'
> http://ip:port/cgi-bin/cmd/system?DNS_SECONDARY=''

Back to

> HOME, SYSTEM CGI