Make sure registration is taken care of if DNS fails (bug #3424)