How to block only MX query made to DNS server
Jason Opperisano
opie at 817west.com
Sun Nov 28 07:21:46 CET 2004
On Sat, 2004-11-27 at 23:17, pravin rane wrote:
> That is right but only when all clients are using my
> DNS server. I will not be able to block MX requests if
> they are using some other DNS servers which are
> out-side of my network and I can not force my clients
> to use only my DNS server.
iptables -t nat -A PREROUTING -i $INSIDE_IF -p udp \
--dport 53 -j REDIRECT --to-port 53
or some variant thereof...
-j
--
"Lisa, if the Bible has taught us nothing else, and it hasn't, it's
that girls should stick to girls sports, such as hot oil wrestling
and foxy boxing and such and such."
--The Simpsons
More information about the netfilter
mailing list