ip dns-server
This command specifies the primary and secondary DNS servers to be used by this multilink interface.
Syntax
ip dns-server <mode> <a.b.c.d> <e.f.g.h>
Command |
Description |
---|---|
mode |
The DNS servers addressing modes are: ‘automatic’ – DNS servers’ IP addresses will be accepted from peer during PPP negotiation. ‘manual’ – Sets static DNS servers’ IP address |
a.b.c.d |
Specifies the IP address of the primary DNS server - relevant only for the manual mode. |
e.f.g.h |
Specifies the IP address of the optional secondary DNS server- relevant only for the manual mode. |
Default
By default, no DNS servers are defined for the multilink interface.
Command Mode
Privileged User
Example
This example sets static DNS servers’ IP addresses on multilink interface 0:
(conf-if-multilink 0)# ip dns-server manual 10.1.1.10 10.1.1.11