[Development] DNS resolver docs for Linux/OSX

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Oct 3 09:00:43 CEST 2013


Hi All,

Is there any good documentation on the DNS resolver library (in Linux).
I've mostly been referring to manpages of resolver functions (res_init et
all) which gives an overview of the main functions.

However, I wanted to know more about the main "struct __res_state" used in
these functions. Google hasn't thrown up much.

Basically, I wanted to know the usage of 2 of the fields used in this
struct - "nssocks[MAXNS]" and "nsmap[MAXNS]". What values are these
supposed to hold?

Thanks,
-mandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131003/7db01933/attachment.html>


More information about the Development mailing list