Help needed

Karl Auer kauer at
Tue Jun 14 10:59:35 UTC 2011

On Tue, 2011-06-14 at 13:34 +0530, Vignesh Gadiyar wrote:
> from which function do we get the IP addresses looked up from the
> Domain names inputted, so as to perform the required functions on
> those ip addresses and return my result back to the client.i don't
> want to hack the the name server as such. I just want to know
> where i will be able to get the results obtained from the name server
> as in from which function?.Any sort of help will be appreciated.

I wonder if you may be looking for the resolver library functions? Try
"man gethostbyname" for information about the C-language API to the
resolver libraries. That's *nix-ish - but practically every programming
language for practically every operating system supports access to the
resolver libraries too...

Regards, K.

Karl Auer (kauer at                   +61-2-64957160 (h)                   +61-428-957160 (mob)

GPG fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687
Old fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the bind-users mailing list