-
jacob.eva
Hey guys, I'm planning to create a MUC on one of my servers using ejabberd, it will have a clearnet domain and an onion domain. My question is, if I create a MUC on the onion domain and clearnet domain, is there anyway of syncing the messages between the two? Something like a MUC to MUC bridge or something.
-
radovan
Why would you duplicate it?
-
radovan
If upu just leave it as is on the clearnet then the onion can be used as host override and they will be the same
-
Licaon_Kter
jacob.eva: two domains means two servers, you'd want federated mucs for that
-
jonas’
I think Maranda used to have a muc-to-muc bridge…?
- Maranda hides.
-
jacob.eva
Thank you, I'll look into everything you guys said :)
-
jacob.eva
> If upu just leave it as is on the clearnet then the onion can be used as host override and they will be the same Would you kindly elaborate on this? How could I set up a host override in eiabberd?
-
radovan
You just point the onion to your servicd
-
radovan
There is no need to do anything special here
-
jacob.eva
I'll experiment with this later, I think I get what you mean, thanks.
-
sagaracharya
Which DNS service do y'all use?
-
sagaracharya
I use freedns.afraid.org
-
jonas’
I run my own.
-
millesimus
desec.io is nice.
-
MattJ
I recently ran a survey of hosted Snikket domains using custom DNS, and my conclusion is that there are a surprising number of providers in use and most people aren't using the most popular provider (which was by far Cloudflare)
-
ben
That's good right
-
MattJ
Yep
-
ben
🤝🏻
-
sagaracharya
jonas’: Which software do you use?
-
sagaracharya
I thought about hosting my own but I don't have ipv6
-
MattJ
Well, from some perspectives. I did the survey because I wanted to provide documentation for how to correctly set up DNS records for the most popular providers. But based on this, even if I documented the top 3 providers, that documentation would only be useful to less than half of users
-
sagaracharya
I mean v4
-
jonas’
sagaracharya, powerdns
-
moparisthebest
sagaracharya: I run my own hidden bind9 and use https://freedns.afraid.org/secondary/ https://puck.nether.net/dns/login https://dns.he.net/ As public "secondaries", the chances all 3 or even 2 go down at once seem very small
-
moparisthebest
Much smaller than my bind9 stopping updating dnssec signatures :'(
-
sagaracharya
Damn, you folks are absolute experts!
-
sagaracharya
This all sounds greek to me
-
Steven Roose
> Damn, you folks are absolute experts! > > This all sounds greek to me 😁 I like that expression! Is that the standard way of saying it where you are from? In Belgium we use Chinese 🤷✎ -
Steven Roose
> Damn, you folks are absolute experts! > > This all sounds greek to me 😁 I like that expression! Is that the standard way of saying it where you are from? In Belgium we use Chinese, even though for sure Belgians won't understand Greek any better 🤷 ✏
-
opal
re dns im using nsd
-
opal
Steven Roose: ive only heard "greek"
-
opal
chinese is way more complex than greek, probably better lol
-
Steven Roose
Actually in Belgium secundar school has an option to take ancient Greek when you also take Latin. I had like a small intro for 1 year. So maybe it does make sense that we don't use Greek 😅 sorry, </offtopic>
-
opal
ah lol
-
opal
its on topic if youre an xmpp service operator :^)
-
jacob.eva
> You just point the onion to your servicd > > There is no need to do anything special here Thank you for your help, you were totally right.
-
jacob.eva
Didn't realise it's like email where the address and server can be two different domains lol!
-
sagaracharya
Can someone help me with this function, in case someone knows lua?
-
sagaracharya
My function is function send_mail(recipient, sub, content) local smtp = require("socket.smtp") mesgt = { headers = { to = recipient, subject = sub }, body = content } local r, e = smtp.send{ from="username@disroot.org", rcpt = recipient, source = smtp.message(mesgt), user = "username", password = "pass", server = "disroot.org", port = "587” } return 0 end
-
sagaracharya
If you're on disroot, you can test it straightaway. It throws me the following error
-
sagaracharya
socket/tp.lua:29: bad argument #1 to 'receive' (string expected, got light userdata)
-
MattJ
sagaracharya, this isn't really on topic here (it's SMTP and this is not a programming support channel). You could try the #lua IRC channel on libera.chat for Lua questions.
-
sagaracharya
MattJ: I have asked this absolutely everywhere. Allow me just this 1 time
-
opal
>socket/tp.lua:29: bad argument #1 to 'receive' i dont know the contents of socket/tp.lua, i dont know what line 29 of that file is, and i do not see any call to any function `receive`, so i cant help out with that
-
opal
nor do i think anyone in here can
-
opal
not based off that info alone anyway