I'm trying to setup my router as a dns server / forwarder, but the manuals are not really helping me out. What I'm trying to accomplish is the following:
The router should function as a DNS server. It should forward domain specific requests for domain1.local to for example 192.168.1.1 (dnsserver for domain1) and requests for domain2.local to 192.168.2.1 (dnsserver for domain2). All the other DNS requests should be forwarded to the DHCP learned DNS server from my ISP.
Please specify what equipment you are working with.
Cisco routers don't do DNS.
If the domains are on different interfaces, you could (probably) use policy-based routing to direct them to a segment other than the default.
With the information provided, since you (probably) have two different networks, and they are (probably) on different interfaces, then the router will direct that traffic to the different networks based on the address of the destination host anyway ...
A DNS request sent to the .2.1 DNS will by default be sent to the .2.0 network segment. A DNS request sent to the .1.1 DNS will, by default, be sent to the .1.0 network.
There are no un-addressed DNS requests floating around the network , waiting to be plucked out by a router and sent somewhere .... each request would have a (source and) destination address, and that's where the router will, by default, send it.
Policy-Based Routing permits you to look at specific information within the packet and make routing decisions based on that info, and, to some degree, change specific information within the packet.
Hi I'm using a 1711 with 12.4(15)T3 IOS. The idea was that all the clients have the router's IP configured as DNS server.
Let's say that the clients are member of domain3.local (192.168.3.x). If they need DNS resolution they go and query the routers DNS. If the router receives a request for domain1.local, then the router should do a recursive or itterative request to the DNS server (a W2k3 server for example) responsible for domain1.local.
Thats what I like to accomplish.
All the segments have their own interfaces, but I'm not sure how policy based routing is going to help me out.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...