cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1706
Views
0
Helpful
4
Replies

NAT/PAT IP Address Translation 8.8.8.8 > 111.118.175.56

markgraham
Level 1
Level 1

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 4

Mohit Sahai
Cisco Employee
Cisco Employee

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 

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

 

ip nat outside source static 111.118.175.56 8.8.8.8

 

 

solved my problem.

 

Thanks

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.

Review Cisco Networking products for a $25 gift card