Add temporary debug code for hostnames