From 6bdfab143da17327801351b9671844c2734b4f43 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 8 Jul 2022 23:23:22 +0300 Subject: [PATCH] Use Google DNS instead of Cloudflare Cloudflare does not support ECS which causes problems with Spamhaus https://www.spamhaus.org/news/article/816/service-update-spamhaus-dnsbl-users-who-query-via-cloudflare-dns-need-to-make-changes-to-email-set-up --- cookbooks/networking/attributes/default.rb | 2 +- roles/equinix-ams.rb | 2 +- roles/equinix-dub.rb | 2 +- roles/ucl.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbooks/networking/attributes/default.rb b/cookbooks/networking/attributes/default.rb index 8d369de4b..5586f833b 100644 --- a/cookbooks/networking/attributes/default.rb +++ b/cookbooks/networking/attributes/default.rb @@ -9,7 +9,7 @@ default[:networking][:firewall][:raw] = true default[:networking][:firewall][:mangle] = true default[:networking][:roles] = {} default[:networking][:interfaces] = {} -default[:networking][:nameservers] = %w[1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001] +default[:networking][:nameservers] = %w[8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844] default[:networking][:search] = [] default[:networking][:dnssec] = "allow-downgrade" default[:networking][:hostname] = node.name diff --git a/roles/equinix-ams.rb b/roles/equinix-ams.rb index ece584cf9..19b106de3 100644 --- a/roles/equinix-ams.rb +++ b/roles/equinix-ams.rb @@ -41,7 +41,7 @@ default_attributes( override_attributes( :networking => { - :nameservers => ["10.0.48.10", "1.1.1.1", "1.0.0.1"], + :nameservers => ["10.0.48.10", "8.8.8.8", "8.8.4.4"], :search => ["ams.openstreetmap.org", "openstreetmap.org"] }, :ntp => { diff --git a/roles/equinix-dub.rb b/roles/equinix-dub.rb index 349732e9a..c4f30e2ff 100644 --- a/roles/equinix-dub.rb +++ b/roles/equinix-dub.rb @@ -46,7 +46,7 @@ default_attributes( override_attributes( :networking => { - :nameservers => ["10.0.64.2", "1.1.1.1", "1.0.0.1"], + :nameservers => ["10.0.64.2", "8.8.8.8", "8.8.4.4"], :search => ["dub.openstreetmap.org", "openstreetmap.org"] }, :ntp => { diff --git a/roles/ucl.rb b/roles/ucl.rb index a0f5331f4..516c925d3 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -30,7 +30,7 @@ default_attributes( override_attributes( :networking => { - :nameservers => ["10.0.0.3", "1.1.1.1", "1.0.0.1"], + :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"], :search => ["ucl.openstreetmap.org", "openstreetmap.org"] }, :ntp => { -- 2.39.5