National Park Service (national rules)
Pets must be physically restrained at all times, on a leash of no more than six feet.
Each rule, in the law's own words1 rule
Pets must be physically restrained at all times, on a leash of no more than six feet.
Source: Rules: 36 CFR §2.15 (Pets), National Park Service (36 CFR §2.15 (Pets))
Places this rule covers
Open to dogs now first, then off-leash places and those with a photo.
Check posted signs. They are the rule on site. This guide restates published rules and OpenStreetMap data, which can be out of date or incomplete. It is not legal advice.