summaryrefslogtreecommitdiff
path: root/puppet/modules/site_unbound/manifests/init.pp
blob: 6a210ab261b22f6bb7ee6ca4e818c4fc302e01ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class site_unbound {

  class { 'unbound':
    root_hints => false,
    anchor     => false,
    ssl        => false
    settings   => {
      server       => {
        verbosity      => '1',
        interface      => [ '127.0.0.1', '::1' ],
        port           => '53',
        hide-identity  => 'yes',
        hide-version   => 'yes',
        harden-glue    => 'yes',
        access-control => [ '127.0.0.0/8 allow', '::1 allow' ]
      }
    }
  }

}