nat – Windows Server Local DNS behind cisco router


Hi,

We have a local DNS server redirecting domains to my local servers (see below link’s picture)

picture’s link

let’s say (IPs not real):

example1.com goes to 192.168.1.100 an IIS web server

example2.com goes to 192.168.1.101 a Linux web server

in local network everything is working fine. so, if a PC 192.168.1.102 ask for example1.com the router will redirect the request first to the local DNS (192.168.1.104) and hence get web page from 192.168.1.100

 

The new scenario we’ve got is to make servers services 192.168.1.100 and 192.168.1.101 available to public.

First, we tried the below config and it is working just to reach example1.com without passing the request to the local DNS.

 

interface GigabitEthernet0/1
ip nat inside source list 1 interface GigabitEthernet0/1 overload
ip nat inside source static tcp 192.168.1.100 80 109.224.56.220 80 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 109.224.56.220
no access-list 1 permit host 192.168.1.100
bridge 1 protocol ieee 
bridge 1 route ip 

my question is how to involve the local DNS and make the above redirect to 192.168.1.104 instead of 192.168.1.100? where the local DNS should decide the requested domain reside in what local server. We tried the below config but it is not working

interface GigabitEthernet0/1
ip nat inside source list 1 interface GigabitEthernet0/1 overload
ip nat inside source static tcp 192.168.1.104 80 109.224.56.220 80 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 109.224.56.220
no access-list 1 permit host 192.168.1.104
bridge 1 protocol ieee 
bridge 1 route ip 

 Thank you.