|
Welcome to the International Skeptics Forum, where we discuss skepticism, critical thinking, the paranormal and science in a friendly but lively way. You are currently viewing the forum as a guest, which means you are missing out on discussing matters that are of interest to you. Please consider registering so you can gain full use of the forum features and interact with other Members. Registration is simple, fast and free! Click here to register today. |
![]() |
#1 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
Windows 10 DNS flush
Just thought I'd throw out there, that if your DNS searching has slowed way down, it seems that flushing that cache will help. The command, running as computer administrator, and only in "CMD" not in the power shell, is "ipconfig/flushdns" .
My computer had slowed down to an average of about ten seconds for every DNS resolution (including embedded links), and it's back to normal now. |
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Merchant of Doom
Join Date: Sep 2002
Location: Not in Hell, but I can see it from here on a clear day...
Posts: 14,348
|
Actually, flushing the cache should generally make it take longer...unless DNS addresses for URLs you’re going to have changed in the last few hours.
Sent from my iPhone using Tapatalk |
__________________
History does not always repeat itself. Sometimes it just yells "Can't you remember anything I told you?" and lets fly with a club. - John w. Campbell |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
|
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
If you'd like something that will make that not really an issue, and are relatively computer savvy I posted a thread about a pihole. It'll change the way you DNS, including blocking ads.
|
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Illuminator
Join Date: Sep 2006
Posts: 4,331
|
Did you manually set your DNS or are you using what your ISP comes back with?
|
__________________
SuburbanNerd A blog for making tech make sense |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
I tried it both ways. Right now I'm back on the automatic DNS. I tried various others that were said to be faster, and none made a significant difference.
I'm about to go on a trip (sans computer) so won't be able to test different DNS servers, including pihole, for a while. But at this point at least the difference will likely be parts of a second, instead of parts of a minute. |
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Penultimate Amazing
Join Date: Dec 2008
Location: Central City, Colorado, USA
Posts: 10,007
|
I switched from my ISP's DNS to Google DNS, not for speed, but because my ISP's DNS would send me to the ISP's crappy search engine/ad farm site anytime I tried to access a host it couldn't resolve. I don't think there's significant difference in speed, but, if I attempt to access a non-existent URL (which might due to a typo, or an obsolete link on another site), I'd prefer that it tell me it's a bad URL rather than send me to a junk site that I have no interest in visiting.
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
|
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#9 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
|
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#10 |
Illuminator
Join Date: Sep 2006
Posts: 4,331
|
I use cloudflare, it made a big difference on my home network
|
__________________
SuburbanNerd A blog for making tech make sense |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#11 |
Quester of Doglets
Moderator
Join Date: Dec 2009
Location: Sunny South Australia
Posts: 2,931
|
By the weirdest co-incidence, I had to do this at work today.
And... counter-intuitively, it really did speed everything up. Things were going so badly that log-ins to some applications were timing out. After flushing the cache, I'm back to instant log-ins. |
__________________
We would be better, and braver, to engage in enquiry, rather than indulge in the idle fancy, that we already know -- Plato. |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#12 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
|
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#13 |
Sharper than a thorn
Join Date: May 2005
Location: Duxford, Cambridgeshire, UK
Posts: 5,219
|
Am I alone in thinking that this sounds like a bug in Windows ?
Why on earth should it be necessary for the end-user to resort to such shenanigans ? I don't know any other systems where this would be required. In other words, Microsoft should fix their buggy software. Sigh ... |
__________________
eiπ+43 |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#14 |
Illuminator
Join Date: Sep 2006
Posts: 4,331
|
Its more the crappy consumer grade networking gear we get on top of the crappy consumer grade internet service.
I get "1 Gbps" service from Verizon and am lucky to see it break 700 Mbps. They even say in the fine print the max is really 800 Mbps |
__________________
SuburbanNerd A blog for making tech make sense |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#15 |
Sharper than a thorn
Join Date: May 2005
Location: Duxford, Cambridgeshire, UK
Posts: 5,219
|
|
__________________
eiπ+43 |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#16 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
I don't think it's odd to have to clear out DNS in any system. They have commands and the ability to do it in every flavor of Linux, Apple, and Windows.
|
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#17 |
Merchant of Doom
Join Date: Sep 2002
Location: Not in Hell, but I can see it from here on a clear day...
Posts: 14,348
|
I’m trying to figure out why this might happen. I’ve worked on windows systems since WfW, and only had to flush the cache for things like changing IP addresses. Makes me wonder what is actually causing the problem.
Even then, the local DNS cache is transient; it should clear entries in it as they expire. I’d suspect this is a symptom of some other issue. Try doing an ipconfig /displaying (needs admin) next time to see what’s in your cache; might give an idea of what’s going on. Sent from my iPhone using Tapatalk |
__________________
History does not always repeat itself. Sometimes it just yells "Can't you remember anything I told you?" and lets fly with a club. - John w. Campbell |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#18 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
|
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#19 |
Merchant of Doom
Join Date: Sep 2002
Location: Not in Hell, but I can see it from here on a clear day...
Posts: 14,348
|
|
__________________
History does not always repeat itself. Sometimes it just yells "Can't you remember anything I told you?" and lets fly with a club. - John w. Campbell |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#20 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
|
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#21 |
Director of Hatcheries and Conditioning
Join Date: Jul 2002
Location: Waiting for the pod bay door to open.
Posts: 42,986
|
|
__________________
Continually pushing the boundaries of mediocrity. Everything is possible, but not everything is probable. “Perception is real, but the truth is not.” - Imelda Marcos |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#22 |
Sharper than a thorn
Join Date: May 2005
Location: Duxford, Cambridgeshire, UK
Posts: 5,219
|
We clearly have very different expectations
![]() ![]() Since flushing the DNS cache requires "sudo" or "administrator" access, how do you think "vanilla" users are going to achieve that ? Hint: they won't. Bottom line: I think it's ridiculous to expect end users to have to resort to such shenanigans. I have never once had to flush DNS caches (the only Windows systems I ever have to use are company-provided ones, and pretty well locked down - I do have administrator access though). |
__________________
eiπ+43 |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#23 |
Great minds think...
Join Date: Dec 2011
Location: North Dakota
Posts: 8,389
|
Maybe. I would venture to say the average end user is probably significantly more knowledgeable than they were 13 years before I was born as well.
Do a lot of end users use CLI? Admittedly, I don't use Linux as it's not something that's come into play for me. It's an option though, which means linux has had to do it at least a few times. I'm way more prone to using the command because, by nature, I'm a network administrator or whatever you want to call us. I repeatedly make DNS changes that are easier to manage by flushing DNS's, though I run all my commands remotely and the end user doesn't even see it happening. I expect users of any device to know how to properly manage their machines. I'm not a mechanic, but I know I need oil changed. I'm not an HVAC guy, but I know my system needs to get maintained. I don't think anyone expects the end user to resort to it. If they have a problem, take it to a professional. If they can fix it, they should. |
__________________
"Circumcision and death threats go together like milk and cookies." - William Parcher “There are times when the mind is dealt such a blow it hides itself in insanity. While this may not seem beneficial, it is. There are times when reality is nothing but pain, and to escape that pain the mind must leave reality behind.” - Patrick Rothfuss |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#24 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
I agree that the need and the procedure are poorly implemented in Windows, so what else is new,right? Aside from everything else,as comments in this thread suggest, it's also counterintuitive, the kind of thing for which many users probably either pay some geek to fix completely, refresh windows, or just toss the thing. .
I'm far from a computer wizard, but did make sure I knew how to get admin. access, and even so it was difficult, because Windows has two different but similar command lines, and only the older "cmd" recognizes the required command. I imagine, or at least hope, that the need for this is pretty rare, but certainly there seem to be plenty of people complaining of various Windows slowdowns, and it seems like poor design that the usual recommendation for many is to give it all up and reload Windows. Apologies if this message is badly typed. I'm using a pretty nasty Android tablet while traveling. Co plain as one might about Windows, if you're used to it and DOS, Android is awful. I never know what button to push or what submerged u to go to to do anything. |
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#25 |
Merchant of Doom
Join Date: Sep 2002
Location: Not in Hell, but I can see it from here on a clear day...
Posts: 14,348
|
Windows actually has the old cmd processor and the PowerShell command line.
Both will recognize the command. PowerShell back-coverts to cmd if it’s not a PowerShell native command. The PowerShell equivalents are: Clear-DnsClientCache Get-DnsClientCache Neither requires admin access, either PowerShell or cmd. Sent from my iPhone using Tapatalk |
__________________
History does not always repeat itself. Sometimes it just yells "Can't you remember anything I told you?" and lets fly with a club. - John w. Campbell |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#26 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
Not to doubt what you say, but when I asked powershell for "ipconfig" it just said no such thing existed and did not send me to cmd. Since none of the online references mentioned the powershell alternative it was as good as nonexistent unless I asked for help and figured it out. It was easier just to go to the command prompt. I've already forgotten whether I tried the command without logging in as admin, but in any case it wasn't as straightforward as it might have been.
|
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#27 |
Muse
Join Date: Sep 2009
Posts: 900
|
ipconfig works for me in powershell. Same output as from cmd.exe.
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#28 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
How odd. I don't have a windows machine handy at the moment but I am pretty sure mine did not, as I assumed at first that I had either mistyped it or that it required admin mode, and I got the same response each time. I also tried just typing the command without parameters and asking for help. All I remember now is that in command and admin mode it worked the first time.
Fortunately, if you do enough searching someone somewhere has usually found a fix. |
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#29 |
Quester of Doglets
Moderator
Join Date: Dec 2009
Location: Sunny South Australia
Posts: 2,931
|
It should, and when changes are made to our local network infrastructure, everything in the cache is set to expire in 10 minutes (or suchlike) so that old things don't persist and cause problems.
In my case there were a bunch of domain controllers that had been retired, and their entries had persisted in my local cache. The symptoms of the error were quite weird, while logging in to the main application that I support, I'd often get "user doesn't exist, or account is locked" style errors. I could see on the server logs that my client was not communicating with the server at all. So I was sometimes being directed to non-existent domain controllers, but most of the time, not. I had a good poke around on Friday to find out if a recent patch had caused the issue on my client machine, but couldn't find anyone talking about the problem on the net. The general 'ipconfig /flushdns' conversation seems to be have been around for a long time. |
__________________
We would be better, and braver, to engage in enquiry, rather than indulge in the idle fancy, that we already know -- Plato. |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#30 |
Merchant of Doom
Join Date: Sep 2002
Location: Not in Hell, but I can see it from here on a clear day...
Posts: 14,348
|
That’s odd, wonder if there’s a setting somewhere to disable cmd parsing in PowerShell? Have to look for it now.
I’ve always run cmd commands in PowerShell, even used them in scripts (have one running at work now using dsget, for example). Sent from my iPhone using Tapatalk |
__________________
History does not always repeat itself. Sometimes it just yells "Can't you remember anything I told you?" and lets fly with a club. - John w. Campbell |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#31 |
Merchant of Doom
Join Date: Sep 2002
Location: Not in Hell, but I can see it from here on a clear day...
Posts: 14,348
|
If it was domain controllers, then yeah, I can see that causing issues. In modern AD domains, the DNS is integrated with AD, so I could be issues with that. Especially considering both the computer account and the user account have to authenticate. But yeah, cache issues should only happen when things change. With DCs I’d expect other issues just related to the fact that they’d changed, though (possibilities for certificate problems and similar there, too...options for error abound!) ![]() Sent from my iPhone using Tapatalk |
__________________
History does not always repeat itself. Sometimes it just yells "Can't you remember anything I told you?" and lets fly with a club. - John w. Campbell |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#32 |
Penultimate Amazing
Join Date: Jun 2005
Location: Way way north of Diddy Wah Diddy
Posts: 27,318
|
Of course I don't quite know what my problem was but wonder if the problem was not inherent in the cache itself but perhaps a corrupted file. I've never had the problem on other computers.
|
__________________
I love this world, but not for its answers. (Mary Oliver) Quand il dit "cuic" le moineau croit tout dire. (When he's tweeted the sparrow thinks he's said it all. (Jules Renard) |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#33 |
Quester of Doglets
Moderator
Join Date: Dec 2009
Location: Sunny South Australia
Posts: 2,931
|
On my team, everyone twitches any time anyone mentions certificates...
Imagine, eight environments, each with about 30 servers, load balancers everywhere, multiple domains, inside separate forests. Currently dealing with replacing all the virtual servers with new ones, W2008 and W2012 to W2016 (Note SQL server upgrades and application upgrades at the same time), which means that version of TLS has to be upgraded, which means that the middle ware has to be upgraded, and we're just talking about the windows world at this stage (forget about all the multi-agency stuff, and all the mainframe back ends). Any day that no-one mentions firewalls or certificates is a good day for me. |
__________________
We would be better, and braver, to engage in enquiry, rather than indulge in the idle fancy, that we already know -- Plato. |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#34 |
Quester of Doglets
Moderator
Join Date: Dec 2009
Location: Sunny South Australia
Posts: 2,931
|
Please note, none of the stuff above is 'my work'.
My part is designing services to move information in and out of the databases via the server-side APIs. ![]() |
__________________
We would be better, and braver, to engage in enquiry, rather than indulge in the idle fancy, that we already know -- Plato. |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#35 |
Graduate Poster
Join Date: Aug 2003
Location: ZZ9 Plural Z Alpha
Posts: 1,269
|
It is odd to have to clear it to make DNS lookups faster. The whole point of the cache is to make DNS lookups faster by not having to query a DNS server across the network.
The only time I have ever felt the need to flush a DNS cache is when I’ve changed a DNS record and the copy in the cache hasn’t expired yet. |
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#36 |
Director of Hatcheries and Conditioning
Join Date: Jul 2002
Location: Waiting for the pod bay door to open.
Posts: 42,986
|
There is a probably the equivalent of a memory leak in the cache. Caching is widely used in computer systems so it's a well understood software tool but this just sounds like a bug that will be fixed eventually.
|
__________________
Continually pushing the boundaries of mediocrity. Everything is possible, but not everything is probable. “Perception is real, but the truth is not.” - Imelda Marcos |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#37 |
Thinker
Join Date: Mar 2008
Posts: 151
|
Well, there's this famous joke among computer folks:
There are 2 hard problems with computers: caching, naming things and off by one errors... And then there's: http://letmegooglethat.com/?q=it%27s...+a+dns+problem |
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#38 |
BOFH
Join Date: Jun 2003
Location: People's Republic of South Yorkshire
Posts: 13,394
|
A pal wrote this to monitor that websites were up and to validate certs etc. https://github.com/brabster/website-checker
Originally Posted by brabster
|
__________________
"Your deepest pools, like your deepest politicians and philosophers, often turn out more shallow than expected." Walter Scott. |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#39 |
Graduate Poster
Join Date: Aug 2003
Location: ZZ9 Plural Z Alpha
Posts: 1,269
|
That's the trouble with C. In any reasonable language, it would go
There are 2 hard problems with computers: caching, naming things and Code:
INDEX OUT OF RANGE ERROR. ABORT CORE DUMPED.
Quote:
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#40 |
Graduate Poster
Join Date: Mar 2007
Posts: 1,346
|
That's only roughly 50% of the off-by-one errors, and for the other 50% only those where it's an index into an array or other bounded entity. And any reasonable language doesn't abort on an out-of-bounds index.
BTW: In C++, you can have this behaviour with the standard containers:
Quote:
|
__________________
"Hello. My name is Inigo Skywalker. You are my father. Prepare to die." |
|
![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
Bookmarks |
Thread Tools | |
|
|