query on dns resolver

Dmitry Belyavsky beldmit at gmail.com
Thu Aug 20 08:59:01 UTC 2020


OpenSSL uses gethostbyname/gethostbyaddr

grep -r gethost . will give you some clues

On Wed, Aug 19, 2020 at 11:51 PM SIMON BABY <simonkbaby at gmail.com> wrote:

> I was looking at the openssl 1.0.2j code and trying to find how it
> resolves the dns domain name IP address from name.
>
> 1. Does it use the OS supported utilities like nslookup, gethostip etc?
> 2. Do we need a recursive dns server IP address to define in resolv.conf?
> 3. Can I  know the APIs and files where I can start looking (for the dns
> resolution).
>
> Thank you for your time.
>
> Regards
> Simon
>


-- 
SY, Dmitry Belyavsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20200820/8d040303/attachment.html>


More information about the openssl-users mailing list