#352 DNS lacks IPv6 support

Reporter mva.name
Owner MattJ
Created
Updated
Stars ★★ (2)
Tags
  • Priority-Medium
  • Status-Fixed
  • Milestone-0.9
  • Type-Defect
  1. mva.name on

    [discussed in jabber conference] It is impossible to get working prosody instance, if system has IPv6-only nameserver. Only way to do something now — is install dnsmasq locally, setup it as proxy for original DNS and point resolv.conf to 127.0.0.1

  2. MattJ on

    Changes
    • tags Milestone-0.10 Status-Accepted
    • owner MattJ
  3. Robert Scheck on

    Issue was also reported downstream, see: https://bugzilla.redhat.com/show_bug.cgi?id=1256677

  4. Zash on

    https://hg.prosody.im/0.10/rev/6eebd5808fbc

  5. Robert Scheck on

    I tried to backport this patch to 0.9 myself, but it doesn't seem to solve the issue. Does the patch require more/other changes?

  6. Robert Scheck on

    I might be wrong, but from my point of view the patch is faulty: Putting "nameserver ::1" into /etc/resolv.conf does not work, while replacing self:addnameserver("127.0.0.1"); in net/dns.lua by self:addnameserver("::1"); works?! In case I am terribly wrong during my tests, please let me know.

  7. Zash on

    That patch depends on IP family detection in util.ip which is not in 0.9.

  8. Robert Scheck on

    Do you have a pointer/URL to a commitdiff for backporting this (maybe even downstream only) to 0.9?

  9. Zash on

    http://hg.prosody.im/0.10/rev/e108c3f97f26 and http://hg.prosody.im/0.10/rev/0200945313c9 should be enough I believe

  10. Zash on

    Changes
    • tag Status-Fixed
  11. Zash on

    This has been backported to 0.9 and is included in the 0.9.9 release.

    Changes
    • tag Milestone-0.9

New comment

Not published. Used for spam prevention and optional update notifications.