Cisco IOS as DNS Server

Unanswered Question
Apr 10th, 2007


I was wondering if Cisco IOS can act as a DNS Server. Can IOS provide basic DNS services or provide DNS forwarding?

I know IOS can provide DHCP services. Can IOS provide basic DNS services as well?

Any help or insight would be appreciated.

Thank you.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
wiluszm Tue, 04/10/2007 - 07:33

Note that IOS can act as DNS proxy and cache. We use this on our MPLS WAN to limit DNS lookup required to traverse the cloud. Very easy to setup:

ip name-server

ip dns server

Simple as that...clients may now use the IOS router as a DNS server.


hermanaccd Tue, 04/10/2007 - 07:38

Thanks, Mike!

May I ask what version of IOS and what feature set supports the DNS feature? Is it also known as DistributedDirector?


Herman Choi

Craig Balfour Tue, 04/10/2007 - 08:27

According to the Cisco Feature Navigator ( :

DNS Proxy: Act as a DNS server for LAN connected devices, to always have a DNS server address to give to DHCP client regardless if the WAN/VPN DNS server has been learned over IPCP or DHCP already.

It is only currently available on Cisco routers (not Catalyst switches) and only in Limited and Early Deployment IOS trains - not General Deployment.


This Discussion