def test_dns_lookup_fail():
    assert not _dns_lookup('algo-1')
def test_dns_lookup_success():
    assert _dns_lookup('algo-1')