04-06-2013 06:09 AM - edited 03-04-2019 07:30 PM
Hi,
I have a ASR 1006 router in my environment and I want to make it a DNS server for some reason. I tried to configure the command IP dns server on the ASR but it does not accept the command. I also have a Cisco 7206 VXR router in my environment which acepts this command.
The IOS version of my ASR is
IOS-XE Software (PPC_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.1(3)S2.
Pls guide
Cheers, Niral
04-06-2013 08:05 AM
Hello Niral,
Please see DNS configuration guide for IOS-XE: http://www.cisco.com/en/US/docs/ios-xml/ios/ipaddr_dns/configuration/xe-3s/asr1000/Configuring_DNS.html It states that 'To use DNS, you must have a DNS name server on your network'
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-06-2013 10:44 AM
Hi Niral,
Unfortunately Cisco IOS XE currently only supports DNS resolver i.e., client functionality. The support for DNS server is currently only available in IOS, and not IOS XE. As per the Prerequisites for Configuring DNSin the Cisco IOS XE DNS Configuration Guide:
Prerequisites for Configuring DNS
To use DNS, you must have a DNS name server on your network
Regards
07-21-2015 12:54 AM
07-21-2015 03:26 AM
I think IOS XE or not, all you need to do is point your hosts DNS at the router, point the router's DNS server out to e.g. 8.8.8.8. Any local hosts you want to lookup, configure those records on the router. I think I did this before, and in theory it should work.
07-21-2015 12:27 PM
Hi, I did try that but it does not seem to work. On the IOS XE router I have configured two name servers (external) and then my clients use the router address as the DNS server, but name resolution fails when I do this. Exactly the same configuration but with the client machines using 8.8.8.8 works fine. As far as I can see DNS is all configured on the router and from the router itself (via telnet) everything works fine, just not from the clients.
i have exactly the same config on a Classic IOS 2951 ISR router and on that machine it all works fine and the clients use the router as the DNS server without issue. But on the 4451 box it doesn't work.
On IOS XE the command 'ip dns server' and 'ip dns orimary' do not work, so I cannot see any way to set the IOS XE device to be authorative for the local domain.
does anyone have this working, with the IOS XE router acting as DNS server for client machines?
09-13-2015 02:17 AM
It seems the latest IOS XE now has support for DNS Server functions, and I am able to point my clients to the router and the DNS requests get routed out to the name servers configured on the router. However, one thing I have noticed is thst the router always has an empty DNS cache, so it looks like it forwards every request to the external nameservers. Has anybody else used this new feature and is it possible to configure caching?
09-15-2015 04:53 PM
What version are you using? Does "show hosts" return anything? I am not using my router as the DNS server but I allow domain-lookup so if I try to resolve on the router itself I have the cache shown in "show hosts"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide