A DNS cache is a basically a captured extract of the DNS records for a website since you first visited it. This cache will refresh at a set interval depending on how this is saved to your device, your network, and your internet service provider. Whilst clearing your DNS cache will more often than not correct a DNS related issue, if your ISP (internet service provider) still has a DNS cache of their own, you will have to wait for that to flush as well, and this is beyond your control.
Type the following in the command window: /etc/init.d/nscd restart
Press the Enter key.
Note: If this does not resolve your issue, you may still need to wait up to 24-48 hours for the cache of your greater network (including your internet service provider) to refresh.