dns

Use the dns command to specify the IP addresses for one or more DNS servers. The dns command is available from the topology:<named-topology>:l3:dhcp context of the CLI for b@ac, physical, and routed topologies. This command is visible only when mode is set to local. See mode.

After you run the dns command, run the apply command to implement the changes.

dns (DNS server [,DNS server [...]]) | none

Parameters

DNS server Specifies the IP address of a DNS server.
none Clears the DNS server.

Example

The following example specifies the IP addresses of two DNS servers:

EWC.extremenetworks.com:topology:test:l3:dhcp# mode local
EWC.extremenetworks.com:topology:test:l3:dhcp# dns 192.168.1.2, 192.168.1.3
EWC.extremenetworks.com:topology:test:l3:dhcp# apply