Skip to main content
Cisco SD-WAN
Product Documentation
Viptela Documentation


vpn dns—Configure the address of a DNS server within a VPN.

vManage Feature Template

For all Viptela devices:

Configuration ► Templates ► VPN

Command Hierarchy

vpn vpn-id
  dns ip-address (primary | secondary)


Address of DNS Server
IPv4 or IPv6 address of a DNS server reachable from the Viptela device.
Primary or Secondary Server
(primary | secondary)
Specify whether the DNS server is the primary server or a backup.
Default: primary

Operational Commands

show running-config vpn


Configure a DNS server in VPN 3:

vEdge(config)# vpn 3 dns primary
vEdge(config-vpn-3)# show configuration
vpn 3
 dns primary

Release Information

Command introduced in Viptela Software Release 14.1.​
In Release 16.3, add support for IPv6 DNS server addresses.

Additional Information

See the Segmentation (VPN) Overview and Segmentation (VPN) Configuration Examples articles for your software release.

  • Was this article helpful?