How can forward any DNS requests to my internal DNS server?
The router is configured with a NAT address of the LAN network on the WAN interface.
My DNS server is 192.168.255.1 (remote site)
ip add 10.10.10.1 255.255.255.252
ip nat outside
ip add 192.168.0.1 255.255.255.0
ip nat inside
ip nat inside source list 1 interface WAN overload
access-list 1 permit 192.168.0.0 0.0.0.255
ip route 0.0.0.0 0.0.0.0 10.10.10.2
You mean all the users device already configured google DNS 220.127.116.11 ?
Then you need to do Dummy 18.104.22.168 Punch Hole locally or do some NAT
You can use NAT with redirection. Change its destination IP from 22.214.171.124 -> 192.168.255.1 with redirect target IP
No, the customer use many DNS Servers (google, opendns, etc)
I don't know what the dns the hosts uses.
This command permit NAT 1:1 from 126.96.36.199 to 172.16.1.1 (customer DNS)
""" ip nat outside source static udp 172.16.1.1 53 188.8.131.52 53 """ NAT 1:1
It is possible configure NAT N:1 ? (N= dns google and other):(1= customer DNS)
Not that i am aware that going to work. that way - you can do below test all redirect DNS request to Local DNS Server.
Access-list to match dns requests
ip access-list extended mydns
permit udp any any eq 53
Route-Map to match access List
route-map redirect_mydns 10
match ip address mydns
set ip next-hop 192.168.88.100
route-map redirect_mydns permit 20
apply the rule on Layer 3 Interface where it leaving the traffic
ip policy route-map redirect_mydns
#sh access-list mydns
EDIT : found nat example may be helpful :
object network OBJ_ANY
subnet 0.0.0.0 0.0.0.0
object network OpenDNS_UDP
host x.x.x.x -- your DNS IP
object service DNS_UDP
service udp destination eq 53
nat (inside,outside) source dynamic any interface destination static OBJ_ANY OpenDNS_UDP service DNS_UDP DNS_UDP