Mercurial > prosody-modules
annotate mod_dnsupdate/README.markdown @ 5366:db4c66a1d24b
mod_http_oauth2: Fill in some client metadata defaults
Explicit > Implicit
Maybe we should actually use these for something as well? :)
It's is somewhat an open question of how strictly we should enforce
things in the client metadata given that it is somewhat extensible.
Especially some of these enum fields which have corresponding IANA
registries.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 Apr 2023 18:09:08 +0200 |
parents | ba312cd7907f |
children |
rev | line source |
---|---|
4762
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 Generate a DNS UPDATE order in format suitable for `nsupdate` based on |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 current port configuration. |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 Example output: |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 ``` |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 $ prosodyctl mod_dnsupdate -d example.com -t xmpp.example.com example.com |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 zone example.com |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 server ns1.example.com |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 ttl 3600 |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 add _xmpp-client._tcp.example.com IN SRV 1 1 5222 |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 add _xmpp-server._tcp.example.com IN SRV 1 1 5269 |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 ``` |
ba312cd7907f
mod_dnsupdate: Use with nsupdate to update DNS records from config
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 |