Multi-Level DNS Setup

The network below uses a multi-level DNS hierarchy similar to that used on the internet. The domain example.com is hosted by a single DNS server in that company. www.example.com is a CNAME alias to server.example.com which hosts the webpages.

Test DNS Resolution

1. From the Client PC ping www.example.com and wait for the resolution (you made need to wait for RIP to converge).

2. Using the Client PC's web browser, visit http://www.example.com

3. Reload the file and use simulation mode to view the path the DNS requests take.

4.The DNS entry will be cached in the Local DNS Server. When the Client visits http://www.example.com again, the Local DNS Server will retrieve the DNS record in its cache and give it to the Client. The SOA record in authority.example.com has a Minimum TTL field set to 30. This says that the DNS record retrieved from this server will stay in the Local DNS Server cache and Root DNS Server for 30 seconds.

The Following Configuration Steps will lead you to implement the above mentioned scenario;

1841 Company Router

1). interface FastEthernet0/0

ip address 10.0.0.1 255.255.255.0

duplex auto

speed auto


2). interface Serial0/0/0

ip address 10.1.0.1 255.255.255.0

clock rate 64000


3). router rip

network 10.0.0.0


1841 Internet Router

1). interface FastEthernet0/0

ip address 10.2.0.1 255.255.255.0

duplex auto

speed auto


2).interface Serial0/0/0

ip address 10.1.0.2 255.255.255.0


3). interface Serial0/0/1

ip address 10.3.0.1 255.255.255.0

clock rate 64000


4). router rip

network 10.0.0.0


Company Router 2

1).interface FastEthernet0/0

ip address 10.4.0.1 255.255.255.0

duplex auto

speed auto


2). interface Serial0/0/0

ip address 10.3.0.2 255.255.255.0


3). router rip

network 10.0.0.0


PC Client

IP Address: 10.0.0.2 255.255.255.0

Gateway: 10.0.0.1

DNS Server: 10.0.0.3


Server-PT Local DNS Server

IP Address: 10.0.0.3 255.255.255.0

Gateway: 10.0.0.1


Server-PT Root DNS Server

IP Address: 10.2.0.2 255.255.255.0

Gateway: 10.2.0.1


Server-PT server.example.com

IP Address: 10.4.0.3 255.255.255.0

Gateway: 10.4.0.1


Server-PT authority.example.com

IP Address: 10.4.0.2 255.255.255.0

Gateway: 10.4.0.1

To Test the configuration, from your client PC ping www.example.com


From your client PC using web browser type, www.example.com

Were Done!, the configuration is successfully completed

Also visit my youtube channel "My Technical Reference"

Post a Comment

Previous Post Next Post