summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/resolvconf.pp
blob: 09f0b4056ce22407092bfc0dd2f06f4924db3983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class site_config::resolvconf {

  $domain_public = $site_config::default::domain_hash['full_suffix']

  class { '::resolvconf':
    domain      => $domain_public,
    search      => $domain_public,
    nameservers => [
      '127.0.0.1      # local caching-only, unbound',
      '85.214.20.141  # Digitalcourage, a german privacy organisation: (https://en.wikipedia.org/wiki/Digitalcourage)',
      '172.81.176.146 # OpenNIC (https://servers.opennicproject.org/edit.php?srv=ns1.tor.ca.dns.opennic.glue)'
    ]
  }
}