Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
So Basically you would configure the local DNS under the DHCP pool on the router this would hand out DNS server informtaion to your hosts when they get a DHCP address.ip dhcp pool usersdns-server x.x.x.xdns-server x.x.x.xThe on your local DNS server ...
This kind of depends. Are trying to enable DNS on the router for a host (PC) to use or for the router to be able to use dns for ping or traceroute commands? Are you also using the router for DHCP as well?
I am a bit confused on exactly what you are trying to do. You say in your topology diagram that you have vlan 2 on the switches set as 10.240.31.1 and 10.240.31.1 yet in the configuration you have VLAN interface 2 set as 192.168.4.10/24 and 192.168....
Then I would suggest using a static nat statement like this."ip nat inside source static 192.168.3.2 172.27.6.133"Then when somebody tries to access the 172 address it will resolve to the 192.Hope this Helps.