Skip to content

Instantly share code, notes, and snippets.

@m4ce
Created December 30, 2016 20:01
Show Gist options
  • Save m4ce/44803bc8695ca881bb38a0f3db806adf to your computer and use it in GitHub Desktop.
Save m4ce/44803bc8695ca881bb38a0f3db806adf to your computer and use it in GitHub Desktop.
BIND - Response policy zone (RPZ)
$TTL 1H
@ SOA LOCALHOST. named-mgr.example.org (3 1h 15m 30d 2h)
NS LOCALHOST.
a.example.org A 192.168.1.100
options {
..
response-policy { zone "example-overrides"; };
}
zone "example-overrides" {
type master;
file "master/example-overrides";
allow-query { none; };
};
@m4ce
Copy link
Author

m4ce commented Dec 30, 2016

Selectively overrides DNS records of public DNZ zones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment