DNS cache

I have two questions regarding /ip dns cache

  1. Does it store data in memory or on hard disk (compact flash)? If it stores to CF, than this increases number of writes a lot.

  2. How to turn off DNS cache? I set cache-max-ttl to 0s and then it stops caching, but I am not sure if this is the best way.

AFAIK it stores in memory. I didn’t see CF writes increasing while dig’ing my test MT-router.

drop incoming request to udp port 53 :wink:

or uncheck the box that says “allow remote requests” in the DNS settings. I think that would do it.

@wildbill442

It is already unchecked in my settings, but still DNS cache fills up with data. Just if I put cache-max-ttl=0s it stops using cache and this should do the jos.

where’s the problem? simply turn remote-requests off, if dns on the MT should not be used.
otherwise it’s perfectly normal for DNS to build up a RAM-cache (except TTL=0 entrys, which are used vor dynDNS or NATted DNS-payload)