Welcome Guest!
twitter facebook rss

,

Configuring a Cisco 7200 as a DNS server

Problem:

Configuring a Cisco 7200 as a DNS server



Solution:



we can use a 7200 as a DNS server and managed to use the Cisco 7200 as a DNS server for my .lan domain.

This is how I configured it

ISP(config)#ip dns primary lan soa ns.nic.lan holm.blackedge.org 30 30 30
ISP(config)#ip dns server
ISP(config)#ip host ns.nic.lan 172.16.1.200
ISP(config)#ip host ns2.nic.lan 172.16.1.1

The ip dns primary command defines the zone.
The ip dns server enables the DNS server.
The ip host commands adds records to the zone.

To verify the configuration on another router:

IXPeer(config)#ip name-server 172.16.1.200
IXPeer#ping ns.nic.lan
Translating “ns.nic.lan”…domain server (172.16.1.200) [OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.200, timeout is 2 seconds:
!!!!!

IXPeer#ping ns2.nic.lan
Translating “ns2.nic.lan”…domain server (172.16.1.200) [OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
…..
Success rate is 0 percent (0/5)
IXPeer#

This is a simple way to get local DNS resolution enabled on a Cisco 7200 router!

0 comments

Readers Comments

Latest Posts

Sponsored By

Featured Video

Our Sponsors

Our Sponsors

Visit Nepal Info and Guide