Fix known domains tool and one config problem