Fixed DNS in a Dynamic IP world
I started my issue at http://forums.opendns.com/comments.php?DiscussionID=17191 but never came to a solution, off topic I suppose. I have a Linux router with Busybox and failover Wans. No problem on Wan1 as it's fixed IP. When fail-over to Wan2 it's DNS addy's are placed with Wan1's addy's and propogates via the Lan dns proxy, a function of Lan DHCP server.
What I want is two permanently fixed DNS addy's in the router's Wan's that never change regardless of reboot or fail-over. I tweaked the resolv.user and inittab which only caused other things to break. This router was fairly easy to hack setup as a single Wan. But fail-over or load balance and I loose where it stores DHCP info temporarily and how it makes its way to the resolve.dnsmasq file which cautions not to edit, i.e. anything here gets overwritten and is ineffective.
Any help would be most appreciated.
Mark
-
I understood more from the old thread than what you have stated here, so I'll work off of that. My first suggestion would be to use all 4 OpenDNS addresses rather than 2, so that two more DNS IPs (from wherever) do not get added. My other thought is to not allow your WAN DNS IPs to be changed at all - that they be set as static. No other DNS IPs will enter your network under any circumstance this way.
Please sign in to leave a comment.
Comments
1 comment