Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Flush DNS not working in Windows  (Read 1117 times)

0 Members and 1 Guest are viewing this topic.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Flush DNS not working in Windows
« on: January 09, 2018, 12:37:24 PM »
When I start Firefox it shows me a group of small screen shots of places I have visited last time.
One of these  I know is no longer on the Internet. i know, because it is one of my sites and I removed that page when I moved the site to another server.
So I do the DNS  flush  thing.
Quote
ipconfig /flushdns
But when I use Firefox to go to my site, it either shows the dead page or I get an error message.

At this moment I am writing this in Ubuntu. I am using Firefox. Almost the same behavior. Except now Firefox does not shew the dead page nor does it give an error message. It just shows the right page on the site.

Is this a problem with Windows ? I do not want to do any ticker piddle with the registry. I will just leave it alone for now. But if I want to see my web site, I ha veto boot up another OS.

My question is: Does this kind of thing only happen to me?
Have others had issues with the flushDNS not working?
Is there an easy fix?



patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1682
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Flush DNS not working in Windows
« Reply #1 on: January 09, 2018, 01:09:41 PM »
If Firefox isn't opening your current website you need to delete the old shortcut and re-create the new one....
   
 
" Anyone who goes to a psychiatrist should have his head examined. "

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Re: Flush DNS not working in Windows
« Reply #2 on: January 09, 2018, 01:21:59 PM »
It does it even when using the URL directly in the address line. And even if I use a alternative URL such as spending www to the URL.
Maybe this is what I have:
https://w3guy.com/flush-delete-dns-cache-firefox-chrome/
Quote
Classical example: some time ago, I changed the domain name of this blog . I had to update the nameserver record of the new domain to point to my hosting.
Because the old DNS record of the new domain was cached in my browser, access to my blog with the new domain was denied; in fact, i could access my blog with my old domain even after removing the nameserver record all because the browser still have the record cached.
In this article, I will show us how to clear / flush DNS cache in Firefox and Chrome.
Does that make sense?  :-\

EDIT: He says do it with an add-on. But the add-on is too old.
Also, I am no in Windows 10 and did the ipconfig /flushdns & Firefox still wants to go to the dead page that no longer is on the Internet.

I tricked  Firefox into letting me get part of the new page. I don't now how. But my blog ha stabs and I can toggle back and forth with the tabs and I can get into the home page. The home page is the place taht is tghe normal start page for my blog. I am not sure how this happens. But the blog is written in PHP.

Anyway, Chrome leans how to do what is right. Firefox is  a slow learner.   :(

I am writing this edit in Windows 10 using Firefox.
Chrome now gets to my blog right off. Firefox still wants to use the dead page and then can not get the home page right. Bu I can click the heme page tab and it behaves. But I can quit Firefox, try again,  and it will do the same mistakes again. 

Firefox is still my preferred browser. But it makes me a little sad at times.  :(
If I wait awhile, Firefox might fix itself. I hope.  :)
« Last Edit: January 09, 2018, 01:43:24 PM by Geek-9pm »

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1083
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 8
Re: Flush DNS not working in Windows
« Reply #3 on: January 09, 2018, 02:10:39 PM »
What "Dead pages" are no longer on the Internet? what are their URLs?


Your sites security certificate has expired, which may be related.

Quote
geek9pm.club uses an invalid security certificate. The certificate expired on Thursday, December 14, 2017, 3:59 PM. The current time is Tuesday, January 9, 2018, 1:07 PM.
I was trying to dereference Null Pointers before it was cool.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Re: Flush DNS not working in Windows
« Reply #4 on: January 09, 2018, 02:30:27 PM »
OK. Got it fixed.
The "dead page" is the page i removed from my site. And I did not transfer it to my new server. In was the index.html page for help9pm.com web site.
The site how has only a index.php that loads my Wordpress blog.
The issue was Firefox was using URL history instead of checking the name servers to see if the IP had changed.
I am sure the issue was really Firefox.  Once Chrome had the right IP,  it remembered. Firefox would not remember the right IP, but were depend on the history to find the IP.
I found also that  in another seldom used user, Firefox had no problem,. So it was the way Firefox remembers history for a specific user.
This kind of thing would be very hard to duplicate. Fo an average user, like me.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Re: Flush DNS not working in Windows
« Reply #5 on: January 09, 2018, 03:27:42 PM »
More...
Here are two screen shots using Windos XP.
From index.html tha was on old server.

Next what happens whne Firefox trys to getto the blog.

The page is most  from tghe new server, which has index.php on the start page. Somehow, FGirefox cn not get tghe text right. But when I hit the home tab, the page becomes correct. You will not duplicate this. It is a local issue with Firefox.

The real issue is that  Frefox just does not understand tgaht the stuff in the casche is not right. It must use the IP given by tghe current nameservers, the tghe IP used four days ago.

The sort of thning is very rare. One lwould expect taht sooner or later Firefox  just might check and see if the namerservers have changed. I will check again on Friday, just to see if Firefox can figure it out.

It is not a OS issue. Firefox has itsown little secrect DNS cache you can not flush.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1682
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Flush DNS not working in Windows
« Reply #6 on: January 09, 2018, 05:05:45 PM »
Its not a Firefox issue...
   
 
" Anyone who goes to a psychiatrist should have his head examined. "

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Re: Flush DNS not working in Windows
« Reply #7 on: January 09, 2018, 06:07:16 PM »
Its not a Firefox issue...
How can I know? Is it maybe my Internet Service provider?
I find the behaviour both on Windows XP and WIndows 10 when using Fie\refox.
With Chlrome, I can overcome the issue and chrome remembers the right IP for the web page.

It is hard to reproduce this issue once it gets ficed. I fact, I can not reproduce the error with Chrome. Nor with the Ubuntu version of   Firefox.
So, how doI find it is not afirefox issue?
Why can Firefox in Windos XP not get it right?

Infirefox, I can try an alternative link to tghe old server. I get this:

Quote
The IP address has changed.
The IP address for this domain may have changed recently. Check your DNS settings to verify that the domain is set up correctly. It may take 8-24 hours for DNS changes to propagate. It may be possible to restore access to this site by following these instructions for clearing your dns cache.

But I did clear the DNS using the method given for Widops XP. No change.


BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1083
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 8
Re: Flush DNS not working in Windows
« Reply #8 on: January 09, 2018, 06:44:38 PM »
Both Chrome and Firefox have DNS prefetching and caching.

The TTL retrieved from the DNS server when Firefox originally retrieved the DNS lookup for the domain dictates how long it will prefer the cache information.

You can clear it as part of clearing the cache via History->Clear Recent History.

However both Firefox and Chrome appear to only maintain that cache in-memory while the browser is open.
I was trying to dereference Null Pointers before it was cool.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Re: Flush DNS not working in Windows
« Reply #9 on: January 09, 2018, 07:02:06 PM »
Thank you. I thought I allready did that.
Anyway, hereis an attachment of four brouswers. Thereee browsers gotit right. Bit FireFox still wantgs to read from tghe old server. (Whaich is in the UK, if that matters.)
A cheap with Network Toosl sows the domain ihas percodlatedinto tghe DNS lookup.
I noticed anissue with ssomething and moved thesiteto another server, as noted in the blog.
Somewhere I read tahtDNS propagation might takeupto 72 hours. However, would tgaht explainwhy tharee browsers git it right?

I think I may haveto delete firefox and install it again.
Attatmentbelow. (Color and size reduced to lesen load on the CH server.)



[attachment deleted by admin to conserve space]

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 972
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows XP
Re: Flush DNS not working in Windows
« Reply #10 on: January 09, 2018, 07:24:31 PM »
Fixed.
I removed Firefox and then installed the current Windows XP compatible version.
(Version 52.5.3 43-bit)
Same thing. Then I cleared all l history. That did it.

Thanks to all.   :)