dns improvements

This commit is contained in:
Astro 2016-11-18 02:59:53 +01:00
parent 1fb88bd139
commit ebba2d1473
2 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,13 @@ unbound:
- pkg: unbound
- file: /etc/unbound/unbound.conf.d/listen.conf
dns-root-data:
pkg.installed: []
/etc/unbound/unbound.conf.d/listen.conf:
file.managed:
- source: salt://unbound/listen.conf
/etc/unbound/unbound.conf.d/root.conf:
file.managed:
- source: salt://unbound/root.conf

View File

@ -1,3 +1,5 @@
server:
interface: 0.0.0.0
interface: ::
access-control: 172.20.72.0/21 allow
access-control: 0.0.0.0/0 refuse