12-19-2006 01:33 AM - edited 03-05-2019 01:23 PM
hi,
Is there any possibility we can configure router as dns server for reslolving domain names?
Rgds,
Rajesh
12-19-2006 01:45 AM
yes, it is possible to configure DNS on the router using below command.
Router(config)# ip name-server
check this URL to get more information.
http://www.cisco.com/warp/public/105/reversedns.pdf
hope to help ... rate if it does ...
12-19-2006 02:25 AM
Hi,
Thanks for the response , but my question is
can router itself act as a dns server?
Rgds,
Rajesh
12-19-2006 03:29 AM
Yes, it is very much possible to configure router to act as DNS server. you need to define a static host name-to-address mapping in the host name cache of router.
check below URL to get more information.
http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a00804455de.html
hope it helps .... rate if it does ....
12-19-2006 07:34 AM
Yes, but most of the following commands are not documented at all and it supports UDP/53 only (TCP/53 and zone transfer is not supported):
ip dns server
ip dns primary domain.com soa
ip host
ip host
ip host
ip host
show hosts
show ip dns primary
show ip dns statistics
The server will answer A and PTR quries.
Don't forget to rate all useful posts.
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