zuglufttierHi all, I have a question regarding DNS SRV records...
I want to run a xmpp server from home and that would require some kind of dyndns service. That's the easy part, I guess.
If I was the only person on that specific server would I be able to communicate with users on other servers?
Using a dyndns service would mean that there's no possibility to set DNS SRV records for s2s.
HolgerYou don't need SRV records if the domain part of your JIDs matches the DynDNS domain. But note that s2s connections are usually not prepared to cope with flaky connections (most servers didn't enable XEP-0198 for them yet), so you might face message loss during IP changes.
zuglufttierOK, I have a cable connection, IP changes will not happen every night or so, we're talking about weeks or months here.
To further complicate things, I have a registered domain where I'm able to set CNAMEs but not A or DNS SRV records (because I don't use static IPs at home).
I would try and make a CNAME entry like "xmpp.domain.com" and "dyndnshost.abc" as its source.
So, if my users look like firstname.lastname@example.org everything is fine? That would give me the benefit of a nice looking JID and I could generate an SSL certificate for that and still everything would be running at home.
Ge0rGdoes not consider xmpp.domain.com to be a nice looking JID
HolgerI'm currently in the process of moving various services from my living room to proper locations and this work is annoying, so I'm not sure I can recommend that setup ;-)
HolgerBut yes it should work.
zuglufttierthinks it looks better than email@example.com.
Holger: Thanks... I'm just planning. Maybe I'll just pay for a cheap VPS.
Ge0rGzuglufttier: also, some XMPP implementations habe trouble with CNAMEs
zuglufttierGe0rG: I have no good idea for a good looking domain name anyway...
Ge0rGzuglufttier: xmpp.domain used to be "state of the art" until SRV records were invented.
Ge0rGzuglufttier: I'd consider having JID = email address a good practice today
zuglufttierTrue. But running an email server is even worse than running an xmpp server :D
Ge0rGzuglufttier: that's not related at all ;)
zuglufttierGe0rG: Also true... But that's what I'd have to do if I wanted to have a JID and an e-mail-address that both worked.
ThibGhum, am I missing something?
ThibGzuglufttier, why wouldn't dyndnshost.abc be your SRV?
zuglufttierThibG: DNS SRV and A records need static IPs.
ThibGNo, SRV do not.
ThibGthe target is a host name, not an IP address
Ge0rGYou can set the dyndns host as your SRV target
zuglufttierNope: "As in MX records, the target in SRV records must point to hostname with an address record (A or AAAA record). Pointing to a hostname with a CNAME record is not a valid configuration."