Asked on Super User by Dinamo, 2 years ago. No reply there for at least a week.
Blocking DNS server from a router via iptables
I'm trying to block google dns server ( 8.8.8.8 ) from my router, so no machine in the network could not access this dns server. here is my iptables table: Chain INPUT (policy ACCEPT) target prot opt source destination DROP all -- anywhere dns.google DROP all -- dns.google anywhere ACCEPT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination DROP all -- anywhere dns.google DROP all -- dns.google anywhere ACCEPT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination DROP all -- anywhere dns.google DROP all -- dns.google anywh
This question is one of 1 report of the same problem:
Blocking DNS server from a router via iptables
Nobody has answered it yet, here or anywhere.
Related problems
Question by Dinamo on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.