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 7
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 7