#!/usr/bin/env python import check checks = [] checks.append(check.DNSCheck("www.ungleich.ch")) checks.append(check.DNSCheck("www.ungleich.ch", expected_result="2a0a:e5c0:0:2:400:b3ff:fe39:795c")) checks.append(check.DNSCheck("www.ungleich.ch", rr_type="A", expected_result="185.203.112.17")) for num_server in range(1,6): server="d{}.ungleich.ch".format(num_server) checks.append(check.DNSCheck("www.ungleich.ch", server=server)) for c in checks: print("{} {}".format(c, c.check()))