How to Configure Cisco Router as Caching/Forwarding DNS Server
A Cisco Router running Cisco IOS can function as a Caching or Forwarding DNS Server which answers to DNS queries from clients either from its host table or cache or forward it to a DNS server which can respond to the query.
This feature can come in handy in small network environments where the router can act as a Caching DNS server forwarding queries to the ISPs DNS servers or infact any external DNS servers. Also, makes sense using on under utilized DNS servers.
NOTE: This feature can have an impact on the available resource on the Cisco Router and hence plan according to the network size and ofcourse the router itself.
Enable DNS Translations
From the global Configuration mode, enable the DNS server.
ciscrouter# conf term ciscorouter(config)# ip domain lookup
Add the Name Servers
Add the name servers to which the Cisco Router will forward the queries, if it can’t answer from its host table or cache. You can specify upto 6 Namservers in a single command (seperated by a “SPACE”) or specifiy one Name-server per command for legibility.
ciscorouter(config)# ip name-server 192.168.1.1 192.168.2.1
Add Hosts (optional)
Add host entries to the host table manually, if required
ciscorouter(config)# ip host webserver 10.1.1.100
In the above, the IP address 10.1.1.100 is mapped to the hostname “webserver”
Set Default Domain Name(s)
Optionally, add a domain name or a list of domain names that the Cisco Router can use to append to a unqualified hostname. Using a list is useful where the router tries to try one domain name at a time until it finds a match.
To set a single domain name
ciscorouter(config)# ip domain name example.com
To set a list of Domain names
ciscorouter(config)# ip domain list example.com ciscorouter(config)# ip domain list test.com ciscorouter(config)# ip domain list myowndomain.com
Set Domain Lookup Timeout (optional)
Optionally, you can set the timeout in seconds for the Cisco router to wait for a resonse to a DNS query. The default is 3 seconds
ciscorouter(config)# ip domain timeout 5
Set Domain Lookup Retry (optional)
Again optional, you can set the number of retry attempts for the DNS queries. Default is “2″ times
ciscorouter(config)# ip domain retry 5
Enable DNS Round Robin (optional)
If there are hosts with load balancing enabled and having more than 1 host (example, 10.1.1.101, 10.1.1.102,10.1.1.103 are all pointing to a host, “dbserver”) it makes sense to enable the DNS RoundRobin feature to rotate among the hosts else the 1st cached hosts will only be picked up causing load issues on that particular hosts
ciscorouter(config)# ip host dbserver 10.1.1.101 10.1.1.102 10.1.1.103 ciscorouter(config) ip domain round-robin

Remarkable things here. I’m very glad to peer your article. Thanks so much and I’m looking ahead to touch you. Will you kindly drop me a e-mail?
Judging Coverage Products Come to be reminded for the importance of searching insurance products and services.
Researching Insurance Merchandise Get reminded on the significance of trying to find insurance protection merchandise.
You’ll find nothing is drastically wrong with the help of want need because I implement think that all you could will conceptualize and also feel you can actually achieve.
Often times an adjustment is a good idea so that they can modify the stream along with perhaps create the thing you’re desiring.
All too often an adjustment is actually essential to be able to affect the stream and maybe create the detail you are deciding.
There is little drastically wrong by using hope and require since i can think that all you could might end up with and additionally believe that you’ll be able to accomplish.
It’s extremely imperative that you recognise that your selection, any freedom personal preference, is precisely what calls for united states in which we’re moving.
My spouse and i got really joyful that Jordan could conclude his studies through the precious recommendations he had using your web page. It’s not at all simplistic just to be handing out key points which often the others could have been trying to sell. And we also consider we need you to be grateful to because of that. Those illustrations you’ve made, the easy site navigation, the relationships you help to engender – it is many terrific, and it is assisting our son in addition to us consider that this matter is excellent, which is pretty indispensable. Many thanks for all the pieces!