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.
suzyohas joined
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 user@xmpp.domain.com 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 user@somedyndnshostipaidnothingfor.free.
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.
Valerianhas joined
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."
ThibGbut your dyndnshost.abc has A or AAAA records
ThibGno?
zuglufttierOh, you're right... I mixed it up with using a CNAME. (what I wanted to do in the first place)
zuglufttierBut dyndns aliases are ugly.
ThibGWell, that doesn't really matter as it's not something the user will see
zuglufttierMy dyndns host will look like this: myname.homenet.org
The resulting JID would look like this: user@myname.homenet.org
Because I cannot set the DNS SRV records of homenet.org.
Ge0rGzuglufttier: because you are using the wrong domain registrar.
zuglufttierGe0rG: I think that's pretty much the best you can get when it's supposed to be free.
Ge0rGzuglufttier: if your goal is to base your public identity on a third party you have no binding contract with, you can stick to using Gmail and Facebook messenger.
zuglufttierGe0rG: That's why I said earlier that I might as well rent a small virtual server for this, using a "real" domain name.
zuglufttierGe0rG: But I like the idea of running these things at my home.
Holgerhas left
Ge0rGzuglufttier: you might want to run a DNS server at home and get a cheap domain somewhere that allows you to run a hidden primary
solhas joined
zuglufttierGe0rG: Interesting idea... But I think I'll end up renting some virtual server in the end.
zuglufttierThanks everyone for the clarification! Anybody have a good idea for an xmpp server using a .de domain?
zuglufttierI mean, a good domain name :D Not so easy anymore...
Sam Whitedhas left
Sam Whitedhas joined
Valerianhas left
Ge0rGjabbersün.de
edhelashas left
Ge0rGI want a share if you ever monetize that!
zuglufttier:D
zuglufttierI always wonder whether domains are usable all over the world... You don't see them too often.
zuglufttierwith umlauts
Ge0rGYes, some countries happen to have no ASCII representation at all.