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

    DNS resolver log-queries not working in 25.07

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 1.0k Views 4 Watching
    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.
    • T Offline
      tgl
      last edited by

      I've got

      server:
      log-queries: yes
      

      set as "Custom options" in the DNS Resolver / General Settings configuration page. This worked when I was running 24.11, but I just noticed that it seems to have stopped working when I updated to 25.07. The resolver still functions, but there are no new entries in its log since then. Was this option removed or renamed?

      patient0P GertjanG 2 Replies Last reply Reply Quote 0
      • patient0P Offline
        patient0 @tgl
        last edited by

        @tgl I just gave it a go and it does for me. You can check the Unbound config file, /var/unbound/unbound.conf for it.

         Unbound custom options
        server:
        log-queries: yes
        

        and that leads to log entries like:

        Sep 15 06:59:55 unbound 19041 [19041.0] info 10.99.200.100 nzz.ch A IN
        
        1 Reply Last reply Reply Quote 0
        • GertjanG Offline
          Gertjan @tgl
          last edited by

          @tgl said in DNS resolver log-queries not working in 25.07:

          Was this option removed or renamed?

          Renamed or removed means you enter a word into the config file that would create a syntax error situation.
          unbound wouldn't start at all, or the (custom) config you try to save and apply (!) wouldn't be accepted, so the "shoot in the foot" situation won't happen.

          This is from the author : latest version :
          https://nlnetlabs.nl/documentation/unbound/unbound.conf/ :

          ab0854d0-edae-4b4f-b92f-6c41ceb63bab-image.png

          When adding "log-queries: yes" : like :

          610e04b8-175a-4a60-aa2b-4a368e58667b-image.png

          and then the Apply at the top of the screen, my log got hail-stormed with :

          594f9dc7-ad2f-4d88-82d0-fc2a662bf249-image.png

          My advise : don't leave this config option in place longer then strictly needed.

          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
          • stephenw10S Online
            stephenw10 Netgate Administrator
            last edited by

            You can just set the log level to query info in the Unbound advanced setting tab.

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