[Gajim-devel] gajim in nslookup absense

Yann Leboulanger asterix at lagaule.org
Wed Apr 9 17:20:21 CEST 2014

On 04/06/2014 07:05 PM, Yann Leboulanger wrote:
> On 04/06/2014 06:16 PM, Ruslan Makhmatkhanov wrote:
>> Hello,
>> gajim relies on nslookup to resolve SRV records of jabber server, so it
>> fails to operate when nslookup just isn't there. It's a case for any
>> FreeBSD >= 10.0, where all bind/named suite, including nslookup, was
>> removed from base system and replaced with unbound. Right now we patched
>> it to use host(1) to make it work on FreeBSD 10.0 and later. Please see
>> the patch from walker_643:
>> http://svnweb.freebsd.org/ports/head/net-im/gajim/files/extra-patch-src-common_resolver.py?view=markup&pathrev=345147
>> Can gajim source tree utilize host(1) as a fallback (or generally switch
>> to it, because host(1) is there on any unix/linux system)?
> host doesn't exist under "the other OS".
> So the best solution would be to use host under linux and nslookup under
> windows.
> Here is a patch to do that. what do you think about that?

I just commited a patch that detects if we have host installed and use it.


More information about the Gajim-devel mailing list