Results 1 to 5 of 5

Thread: DNS Cache

  1. #1
    Star Lounger Look's Avatar
    Join Date
    Aug 2011
    Location
    Ireland
    Posts
    71
    Thanks
    4
    Thanked 2 Times in 1 Post

    DNS Cache

    Hello,

    Will I be giving myself any problems if I tick the DNS Cache in CCleaner which is scheduled to run once everyday using it's default settings.
    The PC is a Laptop.
    Jim.
    May you live as long as you want, and want to as long as you live.

  2. #2
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,625
    Thanks
    161
    Thanked 933 Times in 853 Posts
    I have DNS Cache checked and regularly run CCleaner with no problems.
    BACKUP...BACKUP...BACKUP
    Have a Great Day! Ted


    Sony Vaio Laptop, 2.53 GHz Duo Core Intel CPU, 8 GB RAM, 320 GB HD
    Win 8 Pro (64 Bit), IE 10 (64 Bit)


    Complete PC Specs: By Speccy

  3. #3
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    20,656
    Thanks
    2
    Thanked 635 Times in 568 Posts
    Unless you are surfing to places you don't want someone to find why bother? It speeds up your browsing to cache DNS entries.

    Joe

  4. #4
    Star Lounger Look's Avatar
    Join Date
    Aug 2011
    Location
    Ireland
    Posts
    71
    Thanks
    4
    Thanked 2 Times in 1 Post
    Hello Ted

    The reason I asked was, a friend told me using a Hosts File on a laptop can give trouble. This is what I saw on my link.
    -
    Editors Note: in most cases a large HOSTS file (over 135 kb) tends to slow down the machine.

    To resolve this issue (manually) open the "Services Editor"

    Start | Run (type) "services.msc" (no quotes)
    Scroll down to "DNS Client", Right-click and select: Properties - click Stop
    Click the drop-down arrow for "Startup type"
    Select: Manual (recommended) or Disabled click Apply/Ok and restart. [more info]

    When set to Manual you can see that the above "Service" is not needed (after a little browsing - when set to Manual) by opening the Services Editor again, scroll down to DNS Client and check the "Status" column. It should be blank, if it was needed it would show "Started" in that column. There are several Utilities that can reset the DNS Client for you ... [more info]

    Editors Note: The above instructions are intended for a single (home-user) PC. If your machine is part of a "Domain", check with your IT Dept. before applying this work-around. This especially applies to Laptop users who travel or bring their work machines home. Make sure to reset the Service (if needed) prior to connecting (reboot required) to your work Domain ...

    Important! If you are using Network Discovery then the DNS Client service is required and should not be set to either Manual or Disabled.

    Possible Workaround for using the MVPS HOSTS file and leaving the DNS Client service enabled (set to: Automatic)

    If you find after a period of time that your browser seems sluggish with the DNS Client service enabled you can manually flush the DNS cache
    Close all browser windows ... open a "Command Prompt" from the Start Menu > All Programs > Accessories > Command Prompt
    (type) ipconfig /flushdns (press Enter) Then close the Command Prompt ...


    A better Win7/Vista workaround would be to add two Registry entries to control the amount of time the DNS cache is saved.

    Flush the existing DNS cache (see above)
    Start > Run (type) regedit
    Navigate to the following location:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Dnscache\Parameters
    Click Edit > New > DWORD Value (type) MaxCacheTtl
    Click Edit > New > DWORD Value (type) MaxNegativeCacheTtl
    Next right-click on the MaxCacheTtl entry (right pane) and select: Modify and change the value to 1
    The MaxNegativeCacheTtl entry should already have a value of 0 (leave it that way - see screenshot)
    Close Regedit and reboot ...
    As usual you should always backup your Registry before editing ... see Regedit Help under "Exporting Registry files"
    Jim.
    May you live as long as you want, and want to as long as you live.

  5. #5
    Star Lounger Look's Avatar
    Join Date
    Aug 2011
    Location
    Ireland
    Posts
    71
    Thanks
    4
    Thanked 2 Times in 1 Post
    Hello Joe, whats your recommendations after reading post #4
    Jim.
    May you live as long as you want, and want to as long as you live.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •