summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-07-17 16:29:25 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-07-17 16:29:54 -0400
commitfafd92202f8482d4bf220057513ab238446c68fb (patch)
treebc98cf6f892d61ee7b20c0119913f6c1c685ceb2
parent86b65002341bf14439cf472784fa59f47d439019 (diff)
use Google's nameservers instead of immerda's by default
according to an ally at Google, they do not correlate logs of queries to those nameservers and anonymise logs after 24 hours. therefore we consider it an acceptable tradeoff between reliability, availability and privacy. note that the previous default (presumably Immerda's nameservers) were not reachable while doing this commit so could not be tested for availability.
-rw-r--r--README.md6
-rw-r--r--manifests/init.pp5
2 files changed, 4 insertions, 7 deletions
diff --git a/README.md b/README.md
index be2e2ac..2e67823 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,9 @@ array. For example:
}
... will create a `resolv.conf` that searches the domain name of the
-machine (the `$::domain` fact) and uses Google's recursive
-nameservers. The domain name and search path can be overriden with the
-`$domain` and `$search` parameters.
+machine (the `$::domain` fact) and uses Google's recursive nameservers
+(also the default). The domain name and search path can be overriden
+with the `$domain` and `$search` parameters.
Extra options can be added at the end of the `resolv.conf` file with
the `$tail` argument.
diff --git a/manifests/init.pp b/manifests/init.pp
index 60956ee..c682bfa 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,10 +16,7 @@
class resolvconf(
$domain = $::domain,
$search = $::domain,
- $nameservers = [
- '77.109.138.45',
- '77.109.139.29',
- ],
+ $nameservers = [ '8.8.8.8' ],
$tail,
) {
$content = $::operatingsystem ? {