DNS Tweaks (This Is All Very Confusing)


Recommended Posts

If you actually look at the registry values my tweak changes it just disables the caching of failed lookups, and not regular DNS caching. I know Firefox and IIRC IE will cache DNS lookups for a current session, so while the browser is open it will not continue to send identical DNS requests in the same session unless the cache is already full.

I know Bold is looking to slim down everything in XP, disabling the DNS client service is perfectly safe. If you want to disable it to save some memory, it does not hurt anything, if you want to keep it running, using my tweak will disable caching failed lookups.

I see it, Budman. But we did get off on a thing about the pros and cons of the DNS Client. So I could have lost it there.

I know you know what you are talking about, Budman. But like I've always said, "When you don't know for sure, you should trust the expert you feel most comfortable with...because computer experts are like a bunch of stock brokers all pointing in different directions."

I'm not in away meaning to take away anything from you. You are obviously very knowledgeable. But in this case I need to go with the expert(s) whom I feel the most comfortable with.

I have known j79zlr for some years now. He and mnosteele are considered pretty much the cats pajamas when it comes to Cablenut and Internet tweaking.

So, I need to go with those whom I feel the most comfortable.

Thank you very much for your input, though.

Whatever dude - I could really care less what you do with your machine.. if turning off the dns client to save a few bytes of ram.. blows your skirt up - more power too ya ;) But the service provides a VALUABLE function.. yeah its going to take some memory to do that.. If you feel that your machine will preform better with the few extra extra bytes of memory vs doing queries across the WAN to a DNS server that is being hit by every other user of that ISP.. your welcome too it..

does your browser cache queries.. I am not 100% sure - and that surely could depend on the browser in use, and its settings.. But sure it would make sense to not have to query during the same session.. IE an example of the WHOLE POINT of a local dns cache.. ;)

But really, whatever your browser does is besides the point of turning off the service.. It comes down to, does your machine have to query an outside machine every time it wants to look up www.neowin.net, or does it look to it own cache for it...

Does not really matter what application your using, nor what its own caching functions provide.. If your OS is asked to look up something - does it have to go across the wire and ask again.. If it was just told by your dns server that whatever IP address is good for the next ? amount of time? Or does it look to its own local cache?

I still can not see any point to turning this service off - not one! If your machine makes DNS queries.. it makes sense to cache them for the length of the TTL.. How does it NOT make sense to cache them? If I tell you that you can reach me at some phone number for the next 2 hours.. you do not need to call me 5 minutes later and ask me where you can reach me.. So I can tell you the same number for the next hour and 55 minutes.. Then call me again 30 minutes later..... So I can TELL you the SAME thing...

What your doing is throwing the whole TTL system out the window - and just saying every time I need the address of something.. I'll just ask the owning server for it....

I really am interested in your performance increase with turning this service off.. It must be atleast measurable?? What is the % of your performance increase due to turning off your dns client?? Its quite easy to "measure" the difference in dns queries to your ISP.. A simple log of dns over a given period of time will show the benefits of caching vs not...

  • 1 year later...

I found this thread with the search tool.

Anyway, I have a stubborn XP machine that refuses to update the DNS, it keep picking up the old IP of a DNS. I tried ipconfig /flushdns and that didn't seem to have any effect even though it says it performed successfully.

I also tried the registry settings here on the first post and rebooted multiple time and it still doesn't update the IP. I even disabled the DNS Client service and yet it still doesn't work.

Any more ideas?

Try a different ISPs DNS server

I had the same problem, my ISPs DNS server would take days to reload new IP's so I changed to an others DNS server (iHug, New Zealands from Xtra, New Zealand) and all went well the site I was trying to see loaded _b.

Try a different ISPs DNS server

I had the same problem, my ISPs DNS server would take days to reload new IP's so I changed to an others DNS server (iHug, New Zealands from Xtra, New Zealand) and all went well the site I was trying to see loaded _b.

I have a few computers behind a router with a DHCP server, and all the other computers does not have this problem. Only one computer refuses to flush its dns cache. When I ping a domain on the other computers, I get the correct IP. But on the problem computer, I get a completely different outdated IP. And as I said before, I've done all the things posted here, and rebooted multiple times, and it still pings to the wrong IP.

So far, the workaround is I added the correct IP and domain name to the "Hosts" file and that fixed it. But still curious to why it doesn't refresh the dns on its own.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • AMAZON needs to take total accountability for this.
    • Server Summit had a heap of announcements, ADCS changes are baller.
    • Nice, hope they *finally* fixed the issue with the NTFS driver where the system would completely brick during large file copies using the built in driver. It's been broken for years requiring me to use the older, slower, NTFS-3G FUSE driver.
    • Windows 11 KB5094126 BSODing, freezing, forcing BitLocker lockout, breaks OneDrive, and more by Sayan Sen Microsoft released Windows 11 KB5094126 and KB5093998 last week as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. While Microsoft has so far not acknowledged any major problems with the release, some users online are running into problems. These range from OneDrive and Dropbox access issues, BitLocker recovery lockouts, to blue screens and BSODs. The most common one seems to be happening with HP systems wherein affected users say they hit 0xc0430001 BSOD (blue screen of death) error code after the KB5094126 update. We wonder if this could be related to the recent bug we covered on HP devices wherein the ongoing Secure Boot certificate updates are leading to similar issues. While we are not certain, users affected by this issue likely need to ensure that the boot.stl file is included on the installation media (such as a USB installer or ISO), if the above-mentioned dynamic updates are deployed. If this file is missing, computers may fail to boot from the installation media and could display the error 0xc0430001. This STL file is used by Secure Boot to verify that the boot files are trusted, so it must match the same Windows version and system architecture. To ensure the file is included, Microsoft recommends using the Update WinPE script, which automatically updates the image and handles the required files. Alternatively, you can manually copy the boot.stl file from the Windows\Boot\EFI folder on a Windows device and place it in the matching folder on your installation media before deploying the updated image. Aside from blue screening some users also note their systems have been freezing following the update. This could be happening to Lenovo PCs specifically. In the case of the OneDrive and Dropbox access issues, a user figured out that there could be a conflict with UAC. He explained: "Okay, so I did some digging, and in our environment KB5094126 breaks OneDrive and Dropbox in Explorer. I went through all our GPOs and found out that the combination of disabling UAC and having my user being a local admin breaks OneDrive in Explorer. ... If I enable UAC again, then it works, even with KB5094126 still installed." Hopefully, Microsoft will look into these issues. Source: Microsoft forum (link1, link2, link3, link4), Reddit (link1, link2, link3, link4)
    • It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!