Article 5MCAX iptables Blocking Requested Domain for Bind

iptables Blocking Requested Domain for Bind

by
jeremywebdev
from LinuxQuestions.org on (#5MCAX)
Hi there,

Got a bit of a question here, got the following working that blocks any domain with the given string:
Code:iptables -I INPUT -m string --string thedomain.to.block.om --algo bm -j REJECTWorks amazing but then for say expandability purposes is there any chance of being able to maybe say get it to go to some kind of list, if say because I'm getting a load of requests for a domain thats not hosted on my server if they used any other domain could I do both say?

Hope this makes sense

Using CentOS 7latest?d=yIl2AUoC8zA latest?i=lv9M0ah4l2c:MH-GNN56_jw:F7zBnMy latest?i=lv9M0ah4l2c:MH-GNN56_jw:V_sGLiP latest?d=qj6IDK7rITs latest?i=lv9M0ah4l2c:MH-GNN56_jw:gIN9vFwlv9M0ah4l2c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments