Check for ldns presence using ldns_wire2pkt(), not something that requires SSL.