Caching DNS using getaddrinfo

Viewed 4461

I am using system call getaddrinfo() to obtain IP address from DNS.

I will like to know if the cache information is stored on Linux or not?

If the cached information is stored, is it possible to clear the cache information?

I will like to know how to clear the cache information.

Thanks .

1 Answers
Related