Commit a79ed1ff authored by ale's avatar ale Committed by subvertao

Allow dns queries to cache from internal IPs


(cherry picked from commit 9850b051)
parent 6465890a
Pipeline #3174 failed with stage
in 4 minutes and 32 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