From f113b2051b9949200347f193b87bd75af32a48bf Mon Sep 17 00:00:00 2001
From: Jeremy Stanley <fungi@yuggoth.org>
Date: Thu, 25 Apr 2019 13:18:38 +0000
Subject: [PATCH] Switch from 1.1.1.1 to 1.0.0.1

CloudFlare's public recursive DNS resolvers are available at
multiple anycast addresses. For some reason 1.1.1.1 is unreachable
from parts of OVH's BHS1 region, but 1.0.0.1 seems to be
consistently reachable. Swap this for improved reliability.

Depends-On: https://review.opendev.org/655687
Change-Id: I403961828f4af3f121a6fa2193a933c9fc4a7bc7
---
 roles/configure-unbound/README.rst         | 2 +-
 roles/configure-unbound/defaults/main.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/configure-unbound/README.rst b/roles/configure-unbound/README.rst
index 1ce9297..a2d2c65 100644
--- a/roles/configure-unbound/README.rst
+++ b/roles/configure-unbound/README.rst
@@ -11,7 +11,7 @@ usable IPv6 default route, otherwise IPv4.
 **Role Variables**
 
 .. zuul:rolevar:: unbound_primary_nameserver_v4
-   :default: 1.1.1.1 (CloudFlare)
+   :default: 1.0.0.1 (CloudFlare)
 
    The primary IPv4 nameserver for fowarding requests
 
diff --git a/roles/configure-unbound/defaults/main.yaml b/roles/configure-unbound/defaults/main.yaml
index 2051a30..cc2bda3 100644
--- a/roles/configure-unbound/defaults/main.yaml
+++ b/roles/configure-unbound/defaults/main.yaml
@@ -1,6 +1,6 @@
 # OpenDNS
 unbound_primary_nameserver_v6: "2606:4700:4700::1111"
-unbound_primary_nameserver_v4: "1.1.1.1"
+unbound_primary_nameserver_v4: "1.0.0.1"
 
 # Google
 unbound_secondary_nameserver_v6: "2001:4860:4860::8888"