Navigation

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

    Flush pfSense DNS Cache

    DHCP and DNS
    3
    4
    37468
    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
      sinac last edited by

      I'm really embaressed to have to ask this, but anyway:
      My pfSense has an IPSec Tunnel to another site which has a dynamic IP address and a dyndns domain. The ip changed and the dynamic domain is updated, but pfsense won't resolve the new ip address. I guess it's cached within pfSense but I don't know how to flush the DNS Cache on pfSense. I already restarted dnsmasq but it still resolves to the old IP. Any ideas?

      1 Reply Last reply Reply Quote 0
      • D
        digininja last edited by

        I just had to work out the same thing, not sure if there is a better way but if you send a HUP to the dnsmasq process then it will reload it.

        ssh to the pfSense box then

        
        ps aux | grep dns
        
        

        to get the process id

        
        kill -HUP 
        

        to trigger the reload.

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

          Or just go to Status > Services, and click the restart button on dnsmasq. Much easier, and it flushes the cache when restarting.

          It's also documented here:
          http://doc.pfsense.org/index.php/How_do_I_clear_the_DNS_Forwarder_cache%3F

          1 Reply Last reply Reply Quote 0
          • D
            digininja last edited by

            Well there you go sinac, you've got two answers now! Jimps is much easier than mine so I'd go with that.

            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