Diff

mod_s2sout_override/README.md @ 5632:ae62d92506dc

mod_s2sout_override: Add support for one-level wildcards (e.g. *.example.net)
author Kim Alvefur <zash@zash.se>
date Thu, 27 Jul 2023 15:04:38 +0200
parent 5631:b87a23b45725
line wrap: on
line diff
--- a/mod_s2sout_override/README.md	Thu Jul 27 15:00:26 2023 +0200
+++ b/mod_s2sout_override/README.md	Thu Jul 27 15:04:38 2023 +0200
@@ -21,6 +21,8 @@
 The special target `"*"` may be used to redirect all servers that don't have
 an exact match.
 
+One-level wildcards like `"*.example.net"` also work.
+
 Standard DNS SRV resolution can be restored by specifying a truthy value.
 
 ```lua
@@ -34,6 +36,7 @@
     ["example.com"] = "tcp://other.host.example:5299";
     ["xmpp.example.net"] = "tcp://localhost:5999";
     ["secure.example"] = "tls://127.0.0.1:5270";
+    ["*.allthese.example"] = = "tcp://198.51.100.123:9999";
 
     -- catch-all:
     ["*"] = "tls://127.0.0.1:5370";