lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 10 December 2010 16:05, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> Hello Matthew,
>
> On Wed, Dec 8, 2010 at 2:50 PM, Matthew Wild <mwild1@gmail.com> wrote:
>> [1]: http://prosody.im/tip/net/dns.lua
>
> I tried using this library..I opened an issue on the prosody.im :
> http://code.google.com/p/lxmppd/issues/detail?id=220
>

Just change resolver.print() to print() in your example script and it
works fine. resolver.print() (a function I'm not sure I'd even noticed
before) is for printing responses, not records, which is what lookup()
returns. Documentation issue perhaps :)

Regards,
Matthew