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

DNS Resolver unbound more log output possible?

Scheduled Pinned Locked Moved DHCP and DNS
6 Posts 2 Posters 3.4k 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.
  • R
    ren22
    last edited by Dec 17, 2016, 2:11 PM Dec 17, 2016, 2:07 PM

    hello, while i use the DNS Resolver unbound on the latest _p1 release,

    i have an custom option:

    Unbound custom options

    private-domain: "test.com"
    local-zone: "test.com" redirect
    local-data: "test.com A 192.168.0.1"

    log-queries: yes

    and verbose level 5, but all i can see in the logs are:

    Dec 17 14:59:58 unbound 42186:0 info: 192.168.10.25 test.com. AAAA IN
    Dec 17 14:59:58 unbound 42186:0 info: 192.168.10.25 test.com. A IN

    is the any way to get more output ?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Dec 17, 2016, 2:45 PM

      what else do you want?  It logged the query, says that 192.168.10.25 asked for test.com A record, and he asked for AAAA record.  That is exactly what that config says to do, log the queries..

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • R
        ren22
        last edited by Dec 17, 2016, 2:50 PM

        id like to see a output somelike "no data" or similiar like https://www.unbound.net/documentation/libunbound-tutorial-3.html

        :-)

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Dec 17, 2016, 3:16 PM

          That is a script that does a query and then parses the results for the end user.. using the API Into unbound..  That is completely different then what unbound logs, etc..  If you set verb to 5, you will see it lots of info from it resolving something.  But your test.com is a local entry.. What exactly should it log about that?  That is looked it up from its local file?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • R
            ren22
            last edited by Dec 17, 2016, 6:21 PM

            if it possible a log output of 0 (zero) bytes has been transmitted would be perfect, :-)

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Dec 17, 2016, 7:34 PM

              Well that would all depend on the settings in the unbound.. That is not pfsense..  Contact unbound if you want specific features of their logging..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              1 out of 6
              • First post
                1/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received