Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

NAT/PAT IP Address Translation 8.8.8.8 > 111.118.175.56

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.

4 REPLIES
Cisco Employee

Hello Mark, The query is not

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 

New Member

Hi,Thanks for the response.

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

 

New Member

ip nat outside source static

ip nat outside source static 111.118.175.56 8.8.8.8

 

 

solved my problem.

 

Thanks

VIP Purple

Are you talking about the ASA

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.


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
379
Views
0
Helpful
4
Replies