interfaces openvpn <vtunx> server name-server <ipv4>
Specifies a name server address to be pushed to clients in a remote access environment.
- vtunx
- The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
- ipv4
- Multi-node. The IPv4 address of the name server to push to clients.
You can define multiple name server addresses to push to clients by creating multiple name-server configuration nodes. Each must have a unique IPv4 address.
Configuration mode
interfaces {
openvpn vtunx {
server {
name-server ipv4
}
}
}
Use this command to specify an IPv4 address of a name server to be pushed to clients in OpenVPN remote access mode. This is supported by Windows clients. Other client types may not support this.
Use the set form of this command to specify an IPv4 address of a name server to be pushed to clients.
Use the delete form of this command to remove the name server configuration.
Use the show form of this command to view the name server configuration.