set dhcp server interface dns

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Configures the DNS servers provided by a DHCP server on an existing interface / connection.

In the automatic mode the device provides its own IP address when configured as DNS proxy, and the DNS servers it is configured with otherwise.

Syntax

set dhcp server interface <name> dns

      auto

      manual [ primary <primary> ] [ secondary <secondary> ] [ tertiary <tertiary> ]

      none

Parameters

Parameter

Description

name

Specifies the name of the interface / connection.

Press the TAB key to see the available options.

dns

Configure the DNS Server

primary

Configure the IP address for the first DNS server

secondary

Configure the IP address for the second DNS server

tertiary

Configure the IP address for the third DNS server

Example Command

set dhcp server interface My_Network dns none