commit 984276859853c192f4a5952728d9ea25deedf909 Author: Arturo Filastò arturo@filasto.net Date: Tue Feb 16 13:11:41 2016 +0100
Set the default DNS discovery test helper --- ooni/nettests/blocking/web_connectivity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ooni/nettests/blocking/web_connectivity.py b/ooni/nettests/blocking/web_connectivity.py index 6734618..d8276b3 100644 --- a/ooni/nettests/blocking/web_connectivity.py +++ b/ooni/nettests/blocking/web_connectivity.py @@ -32,7 +32,7 @@ class TCPConnectFactory(Factory): class UsageOptions(usage.Options): optParameters = [ ['url', 'u', None, 'Specify a single URL to test'], - ['dns-discovery', 'd', None, 'Specify the dns discovery test helper'], + ['dns-discovery', 'd', 'whoami.akamai.net', 'Specify the dns discovery test helper'], ['backend', 'b', None, 'The web_consistency backend test helper'], ]
@@ -278,7 +278,7 @@ class WebConnectivityTest(httpt.HTTPTest, dnst.DNSTest):
self.report['client_resolver'] = None if results[0][0] == True: - self.report['client_resolver'] = results[0][1][1] + self.report['client_resolver'] = results[0][1][0]
experiment_dns_answers = results[1][1] sockets = []