summaryrefslogtreecommitdiff
path: root/doc/forum/creating_Bind9_configuration/comment_1_0798f44e1f5a91fbc91c0b472ad92bfa._comment
blob: d1387a225923fc19a3111706d063261497ce4ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[[!comment format=mdwn
 username="Nicolas.Schodet"
 avatar="http://cdn.libravatar.org/avatar/0d7ec808ec329d04ee9a93c0da3c0089"
 subject="comment 1"
 date="2017-08-03T20:52:22Z"
 content="""
For the moment I use:

```
namedOptions :: Property DebianLike
namedOptions =
        File.hasContent \"/etc/bind/named.conf.options\" namedOptionsStanza
                `onChange` Service.reloaded \"bind9\"
  where 
        namedOptionsStanza =
                [ \"// automatically generated by propellor\"
                , \"options {\"
                , \"\tdirectory \\"/var/cache/bind\\";\"
                , \"\tdnssec-validation auto;\"
                , \"\tlisten-on-v6 { any; };\"
                , \"\tlisten-on { any; };\"
                , \"\tallow-query { any; };\"
                , \"\tallow-recursion { localhost; };\"
                , \"\tallow-transfer { none; };\"
                , \"\tallow-notify { none; };\"
                , \"};\"
                ]
```
"""]]