From b2e2ddf94989317537b3e3b5637dc32ac8f9f14c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 25 Apr 2018 18:43:43 +0200 Subject: [PATCH] fix reverse dns lookup tests not sure why, but the old ones were failing half of the time. let's try the latest shit from cloudflare. :) --- nsupdate/main/_tests/test_dnstools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsupdate/main/_tests/test_dnstools.py b/nsupdate/main/_tests/test_dnstools.py index 1997a9d..73cc8db 100644 --- a/nsupdate/main/_tests/test_dnstools.py +++ b/nsupdate/main/_tests/test_dnstools.py @@ -119,11 +119,11 @@ class TestQuery(object): class TestReverseLookup(object): def test_rev_lookup_v4(self): - name, ip = 'google-public-dns-a.google.com', '8.8.8.8' + name, ip = '1dot1dot1dot1.cloudflare-dns.com', '1.1.1.1' assert rev_lookup(ip) == name def test_rev_lookup_v6(self): - name, ip = 'google-public-dns-a.google.com', '2001:4860:4860::8888' + name, ip = '1dot1dot1dot1.cloudflare-dns.com', '2606:4700:4700::1111' assert rev_lookup(ip) == name