On Thu, 04.05.06 17:26, Mihai Ibanescu ([EMAIL PROTECTED]) wrote: Hi!
> Thanks for the detailed response. Since (for now) I am only using unicast DNS, > I'll probably just follow your advice. I didn't want to add the complexity of > (and dependency upon) an event loop when simple DNS lookups for PTR records > were enough. > > As I found out, there are no good DNS libaries for python that are in > widespread use, as far as I can tell, and it's yet another dependency > - that's why I was looking for something within avahi. I don't think Avahi makes such a good unicast DNS client. In fact it is a very limited implementation of a DNS client. Just good enough for the few things required to make DNS-SD over unicast DNS possible. Some things you might find in a proper DNS client lib are not supported by Avahi. Most notably non-recursive lookups come to my mind here. If you need just unicast DNS, have you checked out the standard libc resolver API? (See resolver(3) for more information) Lennart -- Lennart Poettering; lennart [at] poettering [dot] net ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/ _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
