Friday, September 19, 2014

Cisco - Router - Configure DNS

rtl3arl01#config t
Enter configuration commands, one per line.  End with CNTL/Z.
rtl3arl01(config)#in name
rtl3arl01(config)#ip name
rtl3arl01(config)#ip name-server 68.87.71.226
rtl3arl01(config)#ip name-server 68.87.73.242
rtl3arl01(config)#ip name-server 68.87.64.146
rtl3arl01(config)#^Z
rtl3arl01#ping www.cisco.com

Router# ping www.cisco.com
Translating "www.cisco.com"...domain server (192.168.1.100) [OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 198.133.219.25, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 224/228/236 ms


Router# show running-config
Building configuration...
Current configuration : 470 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
ip name-server 192.168.1.100

!--- Configures the IP address of the name server.
!--- Domain lookup is enabled by default.

!
!
interface Ethernet0
 ip address 192.168.1.1 255.255.255.0
!
!

!--- Output Suppressed.

 end

No comments:

Post a Comment