Are there DNS records for Mastodon/ActivityPub like MX for email or SRV for XMPP? This would enable users to migrate to other providers without chaning their address and loose followers.
If you move your server to a new IP address and update your DNS record accordingly then it will work just fine... I am not sure what you are trying to accomplish with an MX like dns record.
The reason for MX record is because if you have domain.tld you may want to host a website at a different IP address than you want to host your website on, so you have MX for that.
Mastodon, however, already **is** a website. So it makes no sense. Only way this would be useful is if you wanted to host the UI for mastodon at one IP and tthe backend activitypub API at a different IP. But this isnt how most fediverse servers are designed anyway.
@freemo @kaip @ademalsasa I think what was meant was something like "custom domain email hosting but for mastodon"
As a domain owner you can have an MX record that says domain1.tld handles your email. You can then change that any time you want to domain2.tld, but your users don't even notice the difference and see the same address: username@yourdomain.tld
That just sound like the already existing CNAME records.. they point to other domains and not to IP
Lets distill the need if I may...
What is being asked for is basically a way to change a mastodon/AP/Fediverse server's **domain** while keeping its identity, so users from the old domain appear as the same users but on a nnew domain?
@freemo @ademalsasa That's what the A/AAAA record does. If I set the MX record of domain.tld to "mailbox.org" then mailbox.org will handle my mail for domain.tld. If I want to use a different email provider (instance) I can just change this MX record, but my email address would still be working.