I trying to get DNS doctoring to work with static nat on a Cisco 2811. I've read some documentation and it states that this is the default behavior. Can someone confirm this can be done on a router and that the configuration below looks okay.
DNS request user1-->intf0/0 or intf0/1-->Serial1/0
DNS response server1-->Serial1/0-->intf0/0 or intf0/1
The DNS request comes from a user on the 172.16.0.0(inside) and they are requesting access to Share1(10.10.30.100) im assuming the router will proxy the DNS request and return 172.29.30.100. This works successfully on my ASA today with static nat and the dns keyword.
description Link to Core1
ip address 10.128.62.2 255.255.255.252
ip nat inside
description Link to Core2
ip address 10.128.62.6 255.255.255.252
ip nat inside
description Link to WAN
ip address 10.1.1.1 255.255.255.252
ip nat outside
ip nat inside source static network 172.16.0.0 172.24.0.0 /16 (This works...hides 172.16 overlap)
ip nat outside source static network 10.10.1.0 172.29.32.0 /24 (works by IP but not name)
ip nat outside source static network 10.10.30.0 172.29.30.0 /24 (works by IP but not name)
ip nat outside source static network 172.16.232.0 172.29.31.0 /24 (works by IP but not name)
ip nat outside source static network 172.16.240.0 172.29.33.0 /24 (works by IP but not name)
Thanks in Advance.