Blob Blame History Raw
From 3ad04ca4b4080e314b9ea05c577e8bfe5e88804f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
Date: Fri, 18 Aug 2017 12:00:20 +0200
Subject: [PATCH 1/2] Remove kr.com because of DNSSEC failures

---
 riggerd/probe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/riggerd/probe.c b/riggerd/probe.c
index dcd83dd..a443d5f 100644
--- a/riggerd/probe.c
+++ b/riggerd/probe.c
@@ -156,8 +156,8 @@ get_random_dest(void)
 static const char*
 get_random_nsec3_dest(void)
 {
-	const char* choices[] = { "_probe.us.com.", "_probe.uk.com.", "_probe.kr.com.", "_probe.uk.net." };
-	return choices[ ldns_get_random() % 4 ];
+	const char* choices[] = { "_probe.us.com.", "_probe.uk.com.", "_probe.uk.net." };
+	return choices[ ldns_get_random() % 3 ];
 }
 
 /** the NSEC3 qtype to elicit it (a nodata answer) */
-- 
2.9.5