Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Open Enhancement MAR-215 Use lua-unbound for DNS resolution in XMPP server, and allow domain lookups via /etc/hosts file
Go to the next issue (open or closed)
Go to the next open issue
Issue basics
  • Type of issue
    Enhancement
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
    New
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    2 hours
  • Time spent
    No time spent
    Click here to see time logged against this issue
Issue details
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

Starting with Prosody 0.12.x, it is possible to rely on the lua-unbound library for all DNS lookups, instead of using Prosody's own resolver. This is a better option, since lua-unbound should have better support than the custom-built module currently in use. In addition to this, there are options that can be enabled for it that would allow using /etc/hosts for the queries, which in turn means that cross-server communications can be tested as well.

The following should be done:

  • Update the xmpp_server role.
    • Switch to using lua-unbound for DNS resolutions.
    • Configure the bindings to lookup records via /etc/hosts as well (in addition to normal lookups against DNS servers). This can be achieved using the unbound = { hoststxt = true } configuration directive.
    • Update tests to now test and check for successful delivery of messages between accounts on two separate servers (mandatory/optional ones).
  • Update role reference documentation.
  • Update usage instructions.
  • Update release notes.
Todos (0 / 0)
There are no comments