You could pre-pay for X years, where X is long enough to ensure you'll be dead when it expires.
Edit: Seems like there's a 10 year limit in many places? I wonder if that's broad convention or an actual rule.
Okay, apparently an ICANN limit for .com domains:
"The expiration date of the domain registration is extended by the number of years, up to a maximum of ten years, as specified by the Registrar's requested Extend operation."
10 years is the ICANN limit but Network Solutions offers 100 years. According to the fine print what they do is actually register it for 10 years and then every year for the next 90 years they register it for an additional year.
They are betting that they will earn more than enough from investing your up front 100 year payment to more than cover future increases in the cost of those one year extensions.
Their customers are betting that Network Solutions or some successor will be around long enough and that domain names will work like the do now long enough that this will be worth it.
Most registries limit domain lifetimes to 10 years. You can't renew a domain if doing so would put the lifetime beyond 10 years -- the registry will refuse to perform the operation.
Edit: Seems like there's a 10 year limit in many places? I wonder if that's broad convention or an actual rule.
Okay, apparently an ICANN limit for .com domains:
"The expiration date of the domain registration is extended by the number of years, up to a maximum of ten years, as specified by the Registrar's requested Extend operation."
https://www.icann.org/en/registry-agreements/com/com-registr...
Though, I can see that navy.us has an expiry in 2053, so it's likely per registry.