Navigation

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

    Clearing DNS

    DHCP and DNS
    4
    5
    595
    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.
    • B
      byounessiangmail.com last edited by

      Hello,

      Is there a way to identify one dns record that is cached and flush it?  instead of unbound option which clears all.

      Thanks,

      1 Reply Last reply Reply Quote 0
      • KOM
        KOM last edited by

        To flush all google.com entries, for example, use:

        unbound-control flush_zone google.com
        
        1 Reply Last reply Reply Quote 0
        • Gertjan
          Gertjan last edited by

          Genre https://www.unbound.net/documentation/unbound-control.html

          unbound-control flush name

          or

          unbound-control flush_zone name

          ?

          edit : hmmm, should type faster …. and KOM has a faster Internet connection.

          No "help me" PM's please. Use the forum.

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

            You'll need to pass the config path to unbound-control, so really it's:

            unbound-control -c /var/unbound/unbound.conf flush blah
            

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • B
              byounessiangmail.com last edited by

              Thank you all ….

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