Redirecting DNS using iptable
-
Hi There,
I have a local DNS server on my network (Windows 2003). It's address is given out to my clients via DHCP. This windows DNS server is configured with OpenDNS servers as it's DNS forwarders. This means that anyone which using my local DNS server, they will get results from OpenDNS.
Now, I want to be able to force all port 53 DNS requests to my local DNS server (So people can't change to another dns server via DHCP bypass).
You may be thinking "Well why can't you just block port 53 in the normal pfsense GUI for all clients except the windows server?":
It's because some folks here use AOL and AOL insists to use it's own DNS server and refuses to even connect if port 53 isn't available.
So can I use iptables to redirect all port 53 traffic to my local windows server however somehow exclude the local server (As it will need to connect to OpenDNS)?
Regards
-
hey folks.
You may scrap most of the above. The firewall rule way does work..sortof.
AOL still proxies everything via its own means.
Any ideas how to make AOL use openDNS?
I'm starting to think it's not possible :(
Cheers