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