Announcement

Collapse
No announcement yet.

How do I clear DNS response cache on NxFilter without restarting it?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I clear DNS response cache on NxFilter without restarting it?

    Since v4.3.9.4, we have 'cachecon.sh' script in /nxfilter/bin directory.

    Code:
    To clear out the in-memory cache,
    
      cachecon.sh -m
    
    To clear out the persistent cache,
    
      cachecon.sh -p
    
    You also can delete cache for single domain,
    
      cachecon.sh -m google.com
      cachecon.sh -p google.com
    
    If you want view the current cache info for a domain,
    
      cachecon.sh -s google.com
    
    You also can specify query type. If it's for MX query,
    
      cachecon.sh -s google.com 15
      cachecon.sh -m google.com 15
Working...
X