How to configure DNS for Cisco Routers and Switches

Page 1

How to configure DNS for Cisco Routers and Switches http://www.router-switch.com/


Ă&#x;

Domain Name System (DNS) is a type of service that translates names into IP addresses for computers, services, or any resource connected to the Internet or a private network. This allows us to successfully find and connect to Internet websites and services no matter where they are. In many cases, where a local DNS server is not available, we are forced to either use our ISP's DNS servers or some public DNS server, however, this can sometimes prove troublesome.


Ă&#x;

In the Cisco world, you have the ability to configure multiple DNS Servers on a Cisco device running the Cisco Internetwork Operating System (Cisco IOS) to ease network management. Following the guide to configure a DNS server on a Cisco Router and/or Switch.


ß

Switch > en

ß

Switch #conf t

ß

Switch (config)#no ip domain look

ß

Switch (config)#user cisco pr 15 pass ccie

ß

Switch (config)#ho SW1

ß

SW1(config)#line con 0

ß

SW1(config-line)#exec-tim 0 0

ß

SW1(config-line)#logg syn

ß

SW1(config-line)#exit

ß

SW1(config)#line vty 0 4

ß

SW1(config-line)#logg syn


ß

SW1(config-line)#login loc

ß

SW1(config-line)#exec-tim 30 0

ß

SW1(config-line)#exit

ß

SW1(config)#interface vlan 1

ß

SW1(config-if)#ip address 10.10.10.1 255.255.255.0

ß

SW1(config-if)#no shu

ß

SW1(config-if)#exit

ß

SW1(config)#ip name-server

ß

SW1(config)#ip name-server 10.10.10.100

ß

SW1(config)#end

ß

SW1#wr


Ă&#x;

This example can be applied to all Cisco switches, such as catalyst 3750 series switch, Cisco 3650 switch, Cisco 3850 switch, catalyst 6500 series switch etc, all Cisco routers, like Cisco 1900, Cisco 2900 series routers, Cisco 3900 routers, Cisco 1800, Cisco 2800 and Cisco 3800 etc.


Contact Us: ß

ß

ß

ß

Website: http://www.routerswitch.com/ Tel: +1-626-239-8066 (USA) +8529795-4940 / +852-3174-6166 (Hong Kong) Fax: +852-3050-1066 (Hong Kong) Email: cisco@router-switch.com (Sales Inquiries)


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.