Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    DNS Forwarder - flushing cache doesn't work..

    DHCP and DNS
    2
    2
    1761
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stimpy last edited by

      Hi there,

      I know, one simply needed to reload the dns forwarder service to clear its cache. But this doesn't work anymore.
      Then, I tried sending SIGHUP to the dnsmasq process via SSH. Didn't work, too..

      When running dnsmasq –help, I can see an option:

          --clear-on-reload                   Clear DNS cache when reloading /etc/resolv.conf.
      

      When checking the running process using "ps aux", I don't see this option being used:

      nobody 85657  0.0  1.1  5512  2548  ??  S    12:26PM   0:00.12 /usr/local/sbin/dnsmasq --all-servers --rebind-localhost-ok --stop-dns-rebind --dhcp-hostsfile=/var/etc/hosts --dns-forward-max=5000 --cache-size=10000 --local-ttl=1
      

      I checked, whether it works, or not, via ssh directly on the pfsense machine, so no more local caching can apply and I checked with the opendns (the only dns provider, I'm using with pfsense) website, my dns-update are already online.

      My system is pfsense-embedded 2.1-RELEASE (i386) on an alix board.

      Am I doing anything wrong or is it a bug? :)

      Thanks in advance,
        stimpy

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        You need to stop and restart, not reload, dnsmasq to clear its cache.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy