BIND DNS: Cache

Discussion in 'General' started by alexillsley, Mar 20, 2007.

  1. alexillsley

    alexillsley ISPConfig Developer ISPConfig Developer

    Hi,
    How can i first clear my dns cache?

    And secondly how can i stop people from querying my server for domains that do not have records on my server?

    Thanks,
    Alex
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I think it will be cleared when you restart bind. Or are you talking about DNS-cache in your workstation?

    Hawker has answered this already in your old thread:

    http://www.howtoforge.com/forums/showthread.php?t=11291&highlight=open+dns

    If you search the forum for "open dns" or "dns recusrion" you will find other threads which explain this.
     
  3. alexillsley

    alexillsley ISPConfig Developer ISPConfig Developer

    Strange, is there are any other services that make hevey use of the cache as its very big at the moment
    Code:
    Cached: 153168 kB 
    which 149.578125 megabytes


    EDIT: i think its normal, just me being paranoid
     
    Last edited: Mar 21, 2007
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not your DNS cache, it is the system cache. Linux caches always data from the harddisk, this is normal and speeds up your server. Linux uses all free memory as cahe until it is used e.g. for programs.
     
  5. alexillsley

    alexillsley ISPConfig Developer ISPConfig Developer

    Yea, i just thought it was strangley high and that dns is the only program that uses lots of the cache

    I didnt know this, i had been using a different server before with a smaller memeory so i guess this explains it.

    Thanks again,
    Alex
     

Share This Page