comparison mod_dnsupdate/README.markdown @ 4762:ba312cd7907f

mod_dnsupdate: Use with nsupdate to update DNS records from config
author Kim Alvefur <zash@zash.se>
date Sat, 06 Nov 2021 14:48:35 +0100
parents
children
comparison
equal deleted inserted replaced
4761:ea1ecbc1d04d 4762:ba312cd7907f
1 Generate a DNS UPDATE order in format suitable for `nsupdate` based on
2 current port configuration.
3
4 Example output:
5
6 ```
7 $ prosodyctl mod_dnsupdate -d example.com -t xmpp.example.com example.com
8 zone example.com
9 server ns1.example.com
10 ttl 3600
11 add _xmpp-client._tcp.example.com IN SRV 1 1 5222
12 add _xmpp-server._tcp.example.com IN SRV 1 1 5269
13 ```
14