I was thinking about creating a redirect service that adds or removes the www from domain names. All that would be required would be that the domain name point the DNS for the naked domain or the www to my server.
For www removal, CNAME records would work fine. For www addition, I would need to have the DNS for the bare domain point to my server. That would require A records with an IP address because CNAME records at the base break email.
How would I acquire a stable IP address for such a service? Most hosts don’t want you using IP addresses like that. This must be available somehow because other services such as running a DNS server would also require a very stable IP address.