Preheat an oven to 325 degrees F (165 degrees C). Stir the hot dogs, Cheddar cheese, relish, ketchup, mustard, and onion together in a bowl; spoon into the hot dog buns. Wrap each sandwich in aluminum foil. Bake in the preheated oven until hot, about 20 minutes. Serve immediately.