DNS Registry Hack

Page 2 of 2 FirstFirst 12

  1. Posts : 1,036
    Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
       #11

    pparks1 said:
    And as I stated, I don't see from a technical standpoint how expiring the DNS cache every 1 second on your local host could possibly lead to faster page loading... If anything, you would want to cache a DNS lookup even longer, so it only has to look it up once and then just keep referring to the cache rather than doing subsequent lookups.
    Yeah. You should increase the cache time so that your system doesn't have to query the DNS again and again for the same site you visited just 1 second ago and can use this cache to begin the page loading sequence faster and what do you mean by '' I use hacks" ?
      My Computer


  2. Posts : 2,362
    Win7 H.Prem. 32bit+SP1
    Thread Starter
       #12

    EzioAuditore said:
    pparks1 said:
    And as I stated, I don't see from a technical standpoint how expiring the DNS cache every 1 second on your local host could possibly lead to faster page loading... If anything, you would want to cache a DNS lookup even longer, so it only has to look it up once and then just keep referring to the cache rather than doing subsequent lookups.
    Yeah. You should increase the cache time so that your system doesn't have to query the DNS again and again for the same site you visited just 1 second ago and can use this cache to begin the page loading sequence faster and what do you mean by '' I use hacks" ?
    Hi, I have read that a PC first checks the host's file, if successful it has no need to use DNS Service.
    The 'hacks' are in my start thread, Maybe should have described them as 'edits'
      My Computer


  3. NoN
    Posts : 4,166
    Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
       #13

    Roderunner said:
    pparks1 said:
    Roderunner said:
    The MaxCacheTtl represents the maximum time that the results of a DNS lookup will be cached. The default value is 86,400 seconds. If you set this value to 1, DNS entries will only be cashed for a single second.
    I'm unsure how this would improve performance. Essentially you are saying to only cache a name for 1 second. All subsequent requests would then re-perform a new DNS lookup to determine the name again. All of these DNS Lookups will require time...not speed things up.
    As stated in an earlier post, I use the hacks with mvps.org's hosts file and DNS Service on auto on my slightly faster desktop and it does speed up page loading. If used on a laptop 'boot' time trebles.
    You can see on screenshot, some DNS Cache hack since XP (meant Windows 98)...maybe a look at speedguide.net can help you a litlle but there's a lot of discuss on MS Technet site, search for DNS.
    Last edited by NoN; 28 Jan 2011 at 11:29. Reason: deleted screenshot
      My Computer


  4. Posts : 7,878
    Windows 7 Ultimate x64
       #14

    Roderunner said:
    Hi, I have read that a PC first checks the host's file, if successful it has no need to use DNS Service.
    The 'hacks' are in my start thread, Maybe should have described them as 'edits'
    Yes, the PC always uses the Host file first. This gives you complete ability to override and set DNS entries to whatever you want. Of course, the downside is that if the site ever moves to a new IP, you have to update your hosts file accordingly...otherwise you will still be pointing at the old IP which may or may not resolve to anything.
      My Computer


  5. Posts : 826
    Windows 7 Professional 64 Bit SP1
       #15

    That's what I do with my computer. It should also help avoid MIM attacks. I have a few entries in my HOSTS file and they are for the SSL login pages of websites I frequent.

    The MVPS has a point worth noting:

    Editors Note: in most cases a large HOSTS file (over 135 kb) tends to slow down the machine.
    pparks1 said:
    Roderunner said:
    Hi, I have read that a PC first checks the host's file, if successful it has no need to use DNS Service.
    The 'hacks' are in my start thread, Maybe should have described them as 'edits'
    Yes, the PC always uses the Host file first. This gives you complete ability to override and set DNS entries to whatever you want. Of course, the downside is that if the site ever moves to a new IP, you have to update your hosts file accordingly...otherwise you will still be pointing at the old IP which may or may not resolve to anything.
      My Computer


  6. NoN
    Posts : 4,166
    Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
       #16
      My Computer


  7. Posts : 2,362
    Win7 H.Prem. 32bit+SP1
    Thread Starter
       #17

    NoN said:
    Roderunner said:
    pparks1 said:
    I'm unsure how this would improve performance. Essentially you are saying to only cache a name for 1 second. All subsequent requests would then re-perform a new DNS lookup to determine the name again. All of these DNS Lookups will require time...not speed things up.
    As stated in an earlier post, I use the hacks with mvps.org's hosts file and DNS Service on auto on my slightly faster desktop and it does speed up page loading. If used on a laptop 'boot' time trebles.
    You can see on screenshot, some DNS Cache hack since XP (meant Windows 98)...maybe a look at speedguide.net can help you a litlle but there's a lot of discuss on MS Technet site, search for DNS.
    Sorry, I can't enlarge the image you posted
    pparks1 said:
    Roderunner said:
    Hi, I have read that a PC first checks the host's file, if successful it has no need to use DNS Service.
    The 'hacks' are in my start thread, Maybe should have described them as 'edits'
    Yes, the PC always uses the Host file first. This gives you complete ability to override and set DNS entries to whatever you want. Of course, the downside is that if the site ever moves to a new IP, you have to update your hosts file accordingly...otherwise you will still be pointing at the old IP which may or may not resolve to anything.
    I check MVPS site frequently for updates.
      My Computer


  8. Posts : 2,362
    Win7 H.Prem. 32bit+SP1
    Thread Starter
       #18

    NoN said:
    I use OpenDNS for my PC's with the updater application.
      My Computer


  9. NoN
    Posts : 4,166
    Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
       #19

    Roderunner said:
    NoN said:
    I use OpenDNS for my PC's with the updater application.
    Could be the easier solution checking what's up!...
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:36.
Find Us