11-07-2014 05:44 AM - edited 03-07-2019 09:24 PM
Hi All,
I am wondering how I can forward all dns requests to 8.8.8.8 to 111.118.175.56
I have a device that I cannot change DNS on and would like to setup the router to do the translation.
Thanks in advance.
11-07-2014 09:32 AM
Hello Mark,
The query is not clear from the above.
What is the IP of the DNS server and where exactly the natting is being done.
Could you please share a topology diagram and what exactly is required.
Regards,
Mohit
11-07-2014 01:32 PM
Hi,
Thanks for the response. Here is some more details.
I have a Cisco 887W router.
I have a Chrome cast device that will only use google dns 8.8.8.8 and 8.8.4.4.
I would like to have the router forward all DNS queries to 8.8.8.8 to an alternate address being 111.118.175.56.
Like what they are doing in the following link but using pfsense.
https://mateh.id.au/2014/08/stream-netflix-chromecast-using-pfsense/
Is that possible?
Thanks
11-08-2014 01:22 AM
ip nat outside source static 111.118.175.56 8.8.8.8
solved my problem.
Thanks
11-07-2014 10:06 AM
Are you talking about the ASA? Then it looks as if you just need a twice-NAT-statement as with that you can do destination-NAT
object network obj-8.8.8.8 host 8.8.8.8 ! object network obj-111.118.175.56 host 111.118.175.56 ! nat (inside,outside) source dynamic any any destination static obj-8.8.8.8 obj-111.118.175.56
It's likely that you have to combine that with your source-NAT to reach the internet.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide