Diff

mod_s2sout_override/README.md @ 5487:6cf2f32dbf40

mod_s2sout_override: Add support for Direct TLS Well that was easy
author Kim Alvefur <zash@zash.se>
date Wed, 24 May 2023 16:34:35 +0200
parent 5486:71243bedb2b0
child 5631:b87a23b45725
line wrap: on
line diff
--- a/mod_s2sout_override/README.md	Wed May 24 15:56:26 2023 +0200
+++ b/mod_s2sout_override/README.md	Wed May 24 16:34:35 2023 +0200
@@ -11,9 +11,12 @@
 to URIs like `"tcp://host.example:port"`, to have Prosody connect there
 instead of doing normal DNS SRV resolution.
 
-Currently only the `tcp://` scheme is supported.  A future version could
-support more methods including Direct TLS, alternate SRV lookup targets
-or even UNIX sockets.
+Currently supported schemes are `tcp://` and `tls://`.  A future version
+could support more methods including alternate SRV lookup targets or
+even UNIX sockets.
+
+URIs with IP addresses like `tcp://127.0.0.1:9999` will bypass A/AAAA
+DNS lookups.
 
 ```lua
 -- Global section
@@ -25,6 +28,7 @@
 s2sout_override = {
     ["example.com"] = "tcp://other.host.example:5299";
     ["xmpp.example.net"] = "tcp://localhost:5999";
+    ["secure.example"] = = "tls://127.0.0.1:5270";
 }
 ```