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

    Saving DNS Cache

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 145 Views
    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.
    • A
      aydinj
      last edited by

      Is there any way to prevent DNS Resolver cache from being flushed or cleared after each time that the service has restarted?
      I mean having a persistence database of resolved queries, for example, the last 200000.

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Like this ? ?

        You have to indicate the unbound.conf being used :

        unbound-control -c /var/unbound/unbound.conf dump_cache
        

        This is something that should be used in the pfSense core glue unbound code.
        Maybe it is / isn't, I didn't look.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.