Redirecting or spoofing DNS
-
Is there a way to make the DNS forwarder service run with ip 8.8.8.8 which is Google public DNS server for internal LAN clients? I don't mean forwarding DNS queries to that server, but making pfSense DNS forwarder "impersonate" 8.8.8.8 when a client tries to connect to it.
The reason I need this is because the latest update of the Netflix app for Android seems to be bypassing the client assigned DNS server and tries to use 8.8.8.8 for its DNS queries and if it cannot connect, it will not work. I don't want Netflix to use any DNS server other than the one I'm assigning to the client because that will prevent me from using region switching services which allow me to access content from regions other than mine.
Can I create a VIP with 8.8.8.8, assign it to an interface, run DNS forwarder and make it routable from the LAN subnet?
-
https://forum.pfsense.org/index.php/topic,60925.0.html
https://forum.pfsense.org/index.php?topic=63399.0
-
Thanks for the links. I solved the problem by adding IP Aliases to the LAN interface with ip 8.8.8.8 and 8.8.4.4 and then select those as additionl interfaces in the DNS forwareder and it works.
I never thought about the NAT trick, I may give it a try. -
The NAT trick is the proper way of doing it. Using virtual IPs for addresses you don't own is kind of a hack.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy