DNS caching in Tomato 1.27?

Discussion in 'Tomato Firmware' started by Deleted member 23868, Apr 15, 2010.

  1. On my WRT54GL v1.1 I am having delays before the page loads, especially google powered sites. I believe that it is the DNS caching on the router. I think that I have bypassed the system, and it is working better than it was, but obviously not as well as if there was a working caching dns.

    It would be nice to get it working properly but I am unsure as to what the different options do as all the documentation referrers to older versions of Tomato interface ie, am in need of some assistance! :)

    Maybe some links next to each option pointing to a wiki page describing its consequence should be put into the next release?
  2. rhester72

    rhester72 Network Guru Member

    What makes you suspect DNS caching?

  3. Thanks for the quick response!


    Firstly when I click a link or search google it sometimes doesnt go through. The page status sits on 'Waiting for Google.com', and after I have realized this to be the case and click the link/search button again it works.

    Secondly, although I have not done enough testing, it seem that it only happens on sites that redirect. As you know I am sure google.com always redirects to a more local server, as in my case the google.co.za the south african one.

    Regardless of whether it is or not the caching dns that is the problem I would still like to know how to properly configure it with the new tomato interface. A link to a picture showing the page where you configure the dns caching on v1.27 with a note as to what each option does would be perfect!

    I dont really want to downgrade to an older version just because I dont understand the options! :(
  4. rhester72

    rhester72 Network Guru Member

    If it says "Waiting for google.com", that means that you've already resolved the IP and are waiting for the remote site to respond.

    All of the DNS options are part of bog-standard dnsmasq, Google is your friend :)

  5. madsul

    madsul Network Guru Member

    I allways wondered what was happening. So there is no way to speed it up?
  6. Beast

    Beast Network Guru Member


    Im seeing the same in firefox here. I was thinking it was a problem with my ISP. I have been having a lot of problems with my phone service. And figured it was related. Im in the USA.

    So your not alone. LOL
  7. @rhester72
    I thought that as well, but when I changed the options, as shown in my before and after attachments, things seem to clear up.

    Welcome to the struggle! :tongue: Do you think that you could change your options to mine and see if the problem persists? That is of course if your options aren't already in this configuration. Do you also have v1.27?

    Attached Files:

  8. lwf-

    lwf- Network Guru Member

  9. Beast

    Beast Network Guru Member

    I will change the settings to match yours. I did not enter any dns addresses last time I setup this router (wrtsl54gs) since my isp keeps changing them. And only checked (Use internal DNS). This has been the way it has run for sometime.

    If after this change does not help, I will look up the latest DNS addresses and enter them and try again.

    Yes im using TB mod with 1.27

    Well that didnt take long to confirm. Yep all well after making the change. One click and away I go now. Thanks

    Now I wish I understand why this works. LOL
  10. mstombs

    mstombs Network Guru Member

    There's a big thread here somewhere about optimizing dnsmasq

    I currently have this in my extra config box, it allows dnsmasq to chose itself the fastest responding one (in addition to the 2 supplied by my ISP), the only way I have found to check which is currently being used is to type an address that doesn't resolve, and see which hold page comes up.

    # OpenDNS
    # UltraDNS
    # DNSResolvers
    # Google
    # BT
  11. CandyBoy

    CandyBoy LI Guru Member

  12. Azuse

    Azuse LI Guru Member

    Just an FYI, open dns have 4 servers,,,, You have 3 boxes so fill them :)

    Also the cache limit of 10000 sounds high, but it only takes up a fraction of the space a 3-4MB adblock list will. If you're not blocking adds set it to 10k :)
  13. @CandyBoy Thanks thats exactly what I was looking for!

    @Beast Glad I could help. :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice