Fix support for more protocols and do not rely on dns for status output