milgradesec / ratelimit

CoreDNS plugin that enables response rate limiting to mitigate DNS attacks.
MIT License
6 stars 1 forks source link

not worked #108

Open ghasminia opened 2 months ago

ghasminia commented 2 months ago

I am using it on Docker, it does not limit requests This is how I request: for i in {1..10}; do dig @myip mydomain; done Rate limit is set to 1 Responds to all requests

Is this test method correct?

milgradesec commented 2 months ago

Can you verify the plugin is actually builded into CoreDNS and running??

You can use the coredns_plugin_enabled Prometheus metric from https://coredns.io/plugins/metrics/

milgradesec commented 2 months ago

Also, ratelimit only applies to UDP requests

ghasminia commented 2 months ago

Can you verify the plugin is actually builded into CoreDNS and running??

Yes, I have access to ratelimit tag in corefile on image I made, there was an error before. It is also in plugins in container