I am trying to block some specific ip's to be resolved by the Pi-hole. Searching the web i found this link:
I configured it but it's not working...any idea what i am doing wrong?
For example i am trying to block the ip's for those domains and it's not working at all...
I don't understand what you are trying to accomplish.
What exactly are you doing, please be specific and include the exact configurations you have made. Telling me that you have set blockingmode to IP but providing no other changes or examples of what you see and specifically how that is not what you want to see doesn't give me anything to help with.
Yes, you have a point. I will try to be as explicit as i can.
At home i am using Pi-Hole as DNS server. I also have a SIEM to monitor the logs and stuff (graylog). I connected a api to VirusTotal to scan the ip's that the PI-hole is resolving to. For example:
If you check this IP, is malicious and i want to block it , on the Pi-Hole.
What i would like to achive is to block on the Pi-hole dns request/reply containing this ip's. Similar what domain blacklist is , but for ip's.
I don't think you'll be able to do what you wish to do with Pi-hole alone. Blocking IP addresses is best left to a firewall that will block the IP completely. Relying on just DNS to block will not catch hardcoded IP traffic or any traffic that is resolved outside of Pi-hole (any app or application that bypasses your set DNS resolver.)
That said, what configuration changes have you made to Pi-hole? Did you add those ;; QUESTION and ;; ANSWER lines directly to pihole-FLT.conf?
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal: