Skip to content

Commit

Permalink
roles/dnsserver: fix usage of zone file
Browse files Browse the repository at this point in the history
Configuration path was updated.

Signed-off-by: John Helmert III <[email protected]>
  • Loading branch information
ajakk committed Dec 3, 2023
1 parent 77f37b8 commit 4bc5867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/dnsserver/tasks/unbound.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
network_mode: "{{ network_name }}"
restart_policy: unless-stopped
volumes:
- "{{ unbound_confdir }}/:/etc/unbound:ro,Z"
- "{{ unbound_confdir }}/:/opt/unbound/etc/unbound:Z"
2 changes: 1 addition & 1 deletion roles/dnsserver/templates/unbound.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ auth-zone:
for-upstream: no
zonemd-check: no
zonemd-reject-absence: no
zonefile: "/etc/unbound/{{ public_domain }}.zone"
zonefile: "/opt/unbound//etc/unbound/{{ public_domain }}.zone"

# Views
# Create named views. Name must be unique. Map views to requests using
Expand Down

0 comments on commit 4bc5867

Please sign in to comment.