chrome cast and changing DNS


#1

Hello Everyone,

I am working on setting up VYOS for my home network but I ran into one little hiccup before I shutdown my pfsense server I cant figure how to get my chromecast working.

So the chromecast by default will override your DNS and always try to use googles which breaks the ability to stream Netfllixs from different countries.

I am a little confused on how to do this in VYOS basically I need to create a rule that sets any destination on port 53 to a different IP instead of googles forcing it to use my DNS provider.


#2

What if you tried using DNAT on traffic inbound to the LAN interface to change the destination IP of the DNS queries from a google DNS server to whichever one you prefer?


#3

This is what I use

destination {
rule 10 {
destination {
address 8.8.8.8
port 53
}
inbound-interface lan_interface
protocol tcp_udp
translation {
address 208.67.222.222
}
}
rule 11 {
destination {
address 8.8.4.4
port 53
}
inbound-interface lan_interface
protocol tcp_udp
translation {
address 208.67.220.220
}
}