You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
responsefilter is a CoreDNS plugin that filters DNS responses based on
FQDN and IP CIDR blocklists to protect against DNS spoofing and
malicious responses.
Repository: https://github.com/isovalent/responsefilter
home = "https://github.com/isovalent/responsefilter"
10
+
+++
11
+
12
+
## Description
13
+
14
+
The *responsefilter* plugin inspects DNS responses from upstream servers and blocks responses where the returned IP address matches a configured blocklist for specific domains. When a blocked response is detected, CoreDNS returns a REFUSED status instead of the spoofed IP address.
15
+
16
+
This plugin helps protect against DNS spoofing attacks and malicious DNS responses by allowing administrators to define which IP ranges are not acceptable for specific domains.
17
+
18
+
## Syntax
19
+
20
+
```
21
+
responsefilter {
22
+
block DOMAIN CIDR [CIDR...]
23
+
}
24
+
```
25
+
26
+
***DOMAIN** - the domain name to apply the filter to (supports subdomains)
27
+
***CIDR** - one or more IP CIDR ranges to block for this domain
28
+
29
+
**Important:** The responsefilter directive must be placed before the forward directive in your Corefile.
0 commit comments