Post APCeBDAArSDB19dpmS by ro@raru.re
(DIR) More posts by ro@raru.re
(DIR) Post #AP9zer4T4vYskd4Lho by kaip@social.tchncs.de
2022-11-01T12:25:45Z
0 likes, 0 repeats
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.#dns #mastodon #interoperability #activitypub #xmpp
(DIR) Post #AP9zerYxFZwqHBKhE0 by ademalsasa@floss.social
2022-11-01T12:27:48Z
0 likes, 0 repeats
@kaip I'm following this.
(DIR) Post #AP9zes2jSrldlXGTdg by freemo@qoto.org
2022-11-01T12:48:28Z
0 likes, 0 repeats
@ademalsasa 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.@kaip
(DIR) Post #APA1nZSO8Xd4dVXdK4 by kaip@social.tchncs.de
2022-11-01T13:12:31Z
0 likes, 0 repeats
@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.
(DIR) Post #APA2Ny1UHIBHFfJWF6 by freemo@qoto.org
2022-11-01T13:19:06Z
0 likes, 0 repeats
@kaip 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.@ademalsasa
(DIR) Post #APAC0VoXzSGQe3iR16 by frox@tooting.ch
2022-11-01T15:06:55Z
0 likes, 0 repeats
@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
(DIR) Post #APAC7E6gDzwrklOn2G by freemo@qoto.org
2022-11-01T15:08:07Z
0 likes, 0 repeats
@frox That just sound like the already existing CNAME records.. they point to other domains and not to IP@kaip @ademalsasa
(DIR) Post #APACFP09bOyjrLFEki by freemo@qoto.org
2022-11-01T15:09:36Z
0 likes, 0 repeats
@frox 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?@kaip @ademalsasa
(DIR) Post #APBB3WYxl2CR2WG5j6 by didek@101010.pl
2022-11-02T02:30:57Z
0 likes, 0 repeats
@freemo @kaip @ademalsasa Hot take: A/AAAA records are for pointing to a general IP address, not WWW website, not even a particual service.For services there are SRV records and MX as a exception for mailsystems.Also you can have make bare ActivityPub server without web fronend.
(DIR) Post #APCe0IorUVUpNITGi0 by freemo@qoto.org
2022-11-02T19:30:00Z
0 likes, 0 repeats
@didek Yes you are correct of course, dns is for any service. You are missing the point though. The point is so your mail service can point to a different location than your main service on the domain in question. I still dont think you know what your really asking for, though perhaps I dont either.@kaip @ademalsasa
(DIR) Post #APCeBDAArSDB19dpmS by ro@raru.re
2022-11-02T19:26:19Z
0 likes, 0 repeats
@didek @freemo @kaip @ademalsasa activitypub works over http and there's nothing you can do about that. the client doesn't have to be hosted on the same domain though, and neither does the c2s api.the only domains that matter for federation are the webfinger domain (the part of your handle after the second @) and the domain that serves actors and activities. they can be different, but neither can change.the webfinger domain has to respond to .well-known/webfinger, can host whatever it wants at other paths. so having domain.tld in your handle, but running mastodon on social.domain.tld is possible. that feature is rarely used though.the activitypub domain will be used to serve actors and activities. their URIs act as globally unique IDs, so they can't change. technically, the server can choose whatever paths for them, e. g. could host a whole instance on one page using url query parameters, and a different website on other pages. in practice, no existing activitypub software supports that, so you'll have to give it the whole domain.
(DIR) Post #APCeBDa3JEuaJPkV7I by ro@raru.re
2022-11-02T19:30:10Z
0 likes, 0 repeats
@didek @freemo @kaip @ademalsasa personally, i don't see a reason to use srv/mx records for fedi software. webfinger allows you to serve any website on the domain used for the handle and have the actual fedi software running on a subdomain. there's no reason to run anything else on the same subdomain, so moving servers is easy. webfinger is a bit harder to configure than dns records, but the upside of that is you don't need to implement any protocols other than http to make fully compliant activitypub software.
(DIR) Post #APCeBDyroylFYNMJnM by freemo@qoto.org
2022-11-02T19:31:56Z
0 likes, 0 repeats
@ro If you want anything that can behave like a mx record we have txt records for that.. use it however you want and rewrite mastodon.. its all good :) but thats not how its built now.@didek @kaip @ademalsasa
(DIR) Post #APCeMomJLiw0re0wXw by ro@raru.re
2022-11-02T19:34:07Z
0 likes, 0 repeats
@freemo @didek @kaip @ademalsasa i mean, rewriting mastodon wouldn't do anyone any good, since it would be incompatible with the existing networkwebfinger does behave sorta like an mx record, though. the only difference is that it works over http and can't be changed.