You are on page 1of 2

DNS Configuration

First Sketch the following Topology

Steps)
R1# configure terminal

R1(config)# interface GigabitEthernet0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.0


R1(config)# ip name-server 4.2.2.5

R1(config)# ip host www.du.edu.et 192.168.1.5

R1(config)# ip host Essien 192.168.1.3

R1(config)# ip host John 192.168.1.4

R1(config)# ip host Peter 192.168.1.2


Finally if you now try to ping www.du.edu.et or other names
configured above directly from your router's CLI prompt, you
should receive an answer as follows:-

You might also like