ip dns-server (HDLC over T1)

This command specifies the primary and secondary DNS servers to be used by this HDLC serial interface.

Syntax

ip dns-server <a.b.c.d> [e.f.g.h] 

Command

Description

a.b.c.d

Defines the IP address of the primary DNS server.

e.f.g.h

Defines the IP address of the secondary DNS server.

Default

By default, no DNS servers are defined for the HDLC serial interface.

Command Mode

Privileged User

Example

This example sets IP address 223.4.5.6 on the HDLC encapsulated serial interface 0/0:

(conf-if-serial-hdlc 0/0)# ip dns-server 10.1.1.10 10.1.1.11