1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Clear Dnsmasq cache?

Discussion in 'Tomato Firmware' started by dissident, Jul 1, 2007.

  1. dissident

    dissident Addicted to LI Member

    I use Tomato 1.07 with the Use Internal Caching DNS Forwarder option enabled. Is there some way, via SSH, to clear the Dnsmasq cache of resolved DNS names and IP addresses? (With the goal of forcing a WAN DNS lookup, rather than having Dnsmasq feed me a result from cache.)

    I do mean without rebooting the router. :)
     
  2. mraneri

    mraneri LI Guru Member

  3. dissident

    dissident Addicted to LI Member

    Thank you. I can't find any real documentation on the killall command, though. What does the -1 accomplish? (I've seen variants that use -9, for example.)
     
  4. mraneri

    mraneri LI Guru Member

    Login to your router... Type:

    Code:
    killall --help
    then try:
    Code:
    killal -l
     
  5. dissident

    dissident Addicted to LI Member

    OK, so it sends a SIGHUP to the dnsmasq process.

    Thank you! I really appreciate it.
     

Share This Page