File

mod_dnsupdate/README.md @ 6220:c83bfcc6ac0a

mod_cloud_notify_encrypted: Use new 'util.crypto' on Prosody 13.0 This removes the dependency on lua-luaossl when running on Prosody 13.0 (or trunk) which has util.crypto Compatibility with Prosody 0.12 retained but also the dependency
author Kim Alvefur <zash@zash.se>
date Mon, 31 Mar 2025 13:24:44 +0200
parent 6003:fe081789f7b5
line wrap: on
line source

Generate a DNS UPDATE order in format suitable for `nsupdate` based on
current port configuration.

Example output:

```
$ prosodyctl mod_dnsupdate -d example.com -t xmpp.example.com example.com
zone example.com
server ns1.example.com
ttl 3600
add _xmpp-client._tcp.example.com IN SRV 1 1 5222
add _xmpp-server._tcp.example.com IN SRV 1 1 5269
```