[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
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?
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.
Zash
on
That patch depends on IP family detection in util.ip which is not in 0.9.
Robert Scheck
on
Do you have a pointer/URL to a commitdiff for backporting this (maybe even downstream only) to 0.9?
[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
Issue was also reported downstream, see: https://bugzilla.redhat.com/show_bug.cgi?id=1256677
https://hg.prosody.im/0.10/rev/6eebd5808fbc
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?
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.
That patch depends on IP family detection in util.ip which is not in 0.9.
Do you have a pointer/URL to a commitdiff for backporting this (maybe even downstream only) to 0.9?
http://hg.prosody.im/0.10/rev/e108c3f97f26 and http://hg.prosody.im/0.10/rev/0200945313c9 should be enough I believe
This has been backported to 0.9 and is included in the 0.9.9 release.
Changes