#1310 prosodyctl command to add/update DNS records
Reporter
Zash
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Status-Blocked
Difficulty-Hard
Type-Enhancement
Priority-Medium
Zash
on
Description of feature:
`prosodyctl dns update` command that actively updates DNS with the correct SRV and other records via some method (preferably pluggable).
Motivation:
Making it even easier to use
Prerequisite:
- #1309
- investigation of available DNS APIs
Zash
on
For DNS servers that support DNS UPDATE <https://tools.ietf.org/html/rfc2136>, this can be done by generating output for, and invoking `nsupdate`.
This includes at least PowerDNS, BIND, possibly others.
Some hosted DNS services offer HTTP APIs, which might be usable.
There's likely no standard here however. Letting plugins handle it might help.
Description of feature: `prosodyctl dns update` command that actively updates DNS with the correct SRV and other records via some method (preferably pluggable). Motivation: Making it even easier to use Prerequisite: - #1309 - investigation of available DNS APIs
For DNS servers that support DNS UPDATE <https://tools.ietf.org/html/rfc2136>, this can be done by generating output for, and invoking `nsupdate`. This includes at least PowerDNS, BIND, possibly others. Some hosted DNS services offer HTTP APIs, which might be usable. There's likely no standard here however. Letting plugins handle it might help.
https://modules.prosody.im/mod_dnsupdate.html piped to `nsupdate` more or less works, but no mere mortals have access to RFC 2136 capable DNS servers.