Commit a2bd45af authored by ale's avatar ale Committed by sub

Allow dns queries to cache from internal IPs

parent e9d55566
Pipeline #3177 failed with stage
in 4 minutes and 44 seconds
{% for n in net_overlays %}
acl "net_{{ n.name }}" {
{{ n.network }};
};
{% endfor %}
view "internal-in" in {
// View for internal clients (i.e. localhost). Enables
// recursive requests and cache.
......
{% for n in net_overlays %}
acl "net_{{ n.name }}" {
{{ n.network }};
};
{% endfor %}
options {
directory "/var/cache/bind";
......@@ -17,7 +23,12 @@ options {
auth-nxdomain no;
allow-transfer { none; };
allow-query { localhost; };
allow-query {
localhost;
{% for n in net_overlays %}
net_{{ n.name }};
{% endfor %}
};
};
logging {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment