-
zuglufttier
Hi 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.
-
Holger
You 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.
-
zuglufttier
OK, 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.
- Ge0rG does not consider xmpp.domain.com to be a nice looking JID
-
Holger
I'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 ;-)
-
Holger
But yes it should work.
- zuglufttier thinks it looks better than user@somedyndnshostipaidnothingfor.free. Holger: Thanks... I'm just planning. Maybe I'll just pay for a cheap VPS.
-
Ge0rG
zuglufttier: also, some XMPP implementations habe trouble with CNAMEs
-
zuglufttier
Ge0rG: I have no good idea for a good looking domain name anyway...
-
Ge0rG
zuglufttier: xmpp.domain used to be "state of the art" until SRV records were invented.
-
Ge0rG
zuglufttier: I'd consider having JID = email address a good practice today
-
zuglufttier
True. But running an email server is even worse than running an xmpp server :D
-
Ge0rG
zuglufttier: that's not related at all ;)
-
zuglufttier
Ge0rG: 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.
-
ThibG
hum, am I missing something?
-
ThibG
zuglufttier, why wouldn't dyndnshost.abc be your SRV?
-
zuglufttier
ThibG: DNS SRV and A records need static IPs.
-
ThibG
No, SRV do not.
-
ThibG
the target is a host name, not an IP address
-
Ge0rG
You can set the dyndns host as your SRV target
-
zuglufttier
Nope: "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."
-
zuglufttier
https://en.wikipedia.org/wiki/SRV_record
-
ThibG
but your dyndnshost.abc has A or AAAA records
-
ThibG
no?
-
zuglufttier
Oh, you're right... I mixed it up with using a CNAME. (what I wanted to do in the first place)
-
zuglufttier
But dyndns aliases are ugly.
-
ThibG
Well, that doesn't really matter as it's not something the user will see
-
zuglufttier
My 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.
-
Ge0rG
zuglufttier: because you are using the wrong domain registrar.
-
zuglufttier
Ge0rG: I think that's pretty much the best you can get when it's supposed to be free.
-
Ge0rG
zuglufttier: 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.
-
zuglufttier
Ge0rG: That's why I said earlier that I might as well rent a small virtual server for this, using a "real" domain name.
-
zuglufttier
Ge0rG: But I like the idea of running these things at my home.
-
Ge0rG
zuglufttier: you might want to run a DNS server at home and get a cheap domain somewhere that allows you to run a hidden primary
-
zuglufttier
Ge0rG: Interesting idea... But I think I'll end up renting some virtual server in the end.
-
zuglufttier
Thanks everyone for the clarification! Anybody have a good idea for an xmpp server using a .de domain?
-
zuglufttier
I mean, a good domain name :D Not so easy anymore...
-
Ge0rG
jabbersün.de
-
Ge0rG
I want a share if you ever monetize that!
-
zuglufttier
:D
-
zuglufttier
I always wonder whether domains are usable all over the world... You don't see them too often.
-
zuglufttier
with umlauts
-
Ge0rG
Yes, some countries happen to have no ASCII representation at all.