custom-dns-server

This command defines the Custom DNS Servers table, which lets you define primary and secondary DNS servers per IP Interface (listed in the IP Interfaces table). This DNS configuration is then reflected in the read-only IP Interfaces table (interface).

Syntax

(config-network)# custom-dns-server <Index>
(custom-dns-server-<Index>)# 

Command

Description

Index

Defines the table row index.

network-if

Assigns an IP Interface (from the IP Interfaces table) for which the DNS servers are defined.

primary-address

Defines the primary DNS server address.

secondary-address

Defines the secondary DNS server address.

Command Mode

Privileged User

Note

This command is applicable only to Mediant Software deployed on Azure or AWS.

Example

This example configures a primary DNS server for IP Interface eth0:

(config-network)# custom-dns-server 0
(custom-dns-server-0)# primary-address 152.1.3.4
(custom-dns-server-0)# network-if eth0