DNS queries are cached to speed up DNS data access.
NSCD caches libc-issued requests to the Name Service. If retrieving NSS data is fairly expensive, nscd is able to speed up consecutive access to the same data dramatically and increase overall system performance.
To clear DNS cache, open a terminal and type:
# /etc/init.d/nscd restart