Generally not, the glibc resolver does not cache the results getaddrinfo.
On systems running nscd, some names may be cached. (At least it gethostbynamecan go through the cache, I'm not sure getaddrinfo.) Restart the daemon to clear the cache.
, ( ) DNS- . .