Community discussions

MUM Europe 2020
 
User avatar
acim
Member
Member
Topic Author
Posts: 424
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

DNS cache

Fri Mar 24, 2006 5:34 pm

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.
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Fri Mar 24, 2006 6:09 pm

AFAIK it stores in memory. I didn't see CF writes increasing while dig'ing my test MT-router.
 
wildbill442
Forum Guru
Forum Guru
Posts: 1050
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Re: DNS cache

Fri Mar 24, 2006 6:57 pm

drop incoming request to udp port 53 ;)

or uncheck the box that says "allow remote requests" in the DNS settings. I think that would do it.
 
User avatar
acim
Member
Member
Topic Author
Posts: 424
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Sat Mar 25, 2006 1:14 pm

@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.
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Sat Mar 25, 2006 2:02 pm

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)

Who is online

Users browsing this forum: MSN [Bot] and 74 guests