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

    no DNS Resolver Infrastructure Cache Stats with forwarding

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 2 Posters 673 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.
    • 4
      4o4rh
      last edited by

      I have forwarding enabled, but DNS Resolver Infrastructure Cache Stats are zero for everything.

      If i run below, i get no results

      unbound-control -c /var/unbound/unbound.conf dump_cache | grep nine.com.au
      

      If i then run nslookup from a client and re-run the above command, i get

      unbound-control -c /var/unbound/unbound.conf dump_cache | grep nine.com.au
      nine.com.au.    897     IN      SOA     ns-1268.awsdns-30.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
      nine.com.au.    57      IN      A       3.105.141.15
      nine.com.au.    57      IN      A       13.236.89.249
      msg nine.com.au. IN AAAA 33152 1 897 0 0 1 0
      nine.com.au. IN SOA 4
      msg nine.com.au. IN A 33152 1 57 0 1 0 0
      nine.com.au. IN A 0
      

      so caching is definitely working, but why don't i get any statistics?

      bingo600B 1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600 @4o4rh
        last edited by

        @gwaitsi

        Would be decent to provide : pfSense version and pfSense platform

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        4 1 Reply Last reply Reply Quote 0
        • 4
          4o4rh @bingo600
          last edited by

          @bingo600 was the same on 2.4.5_p1 and now 2.5.0. J1900 headless

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @4o4rh
            last edited by bingo600

            @gwaitsi
            Could it be that it is strictly forwarding ?

            I'm also using pfSense DNS forwarding (only , no 127.0.0.1 lookups) , but have never bothered to check statistics.
            Are statistics the pict below ??

            I have lots of cache entries.

            /root: unbound-control -c /var/unbound/unbound.conf dump_cache | wc
                2528   16972  167440
            
            

            654b3f4e-6308-481c-9e5e-3c2b3316df9f-image.png

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            4 1 Reply Last reply Reply Quote 0
            • 4
              4o4rh @bingo600
              last edited by

              @bingo600 yes, that is what i mean. all the "DNS Resolver Infrasture Cache Stats" are 0. but as the command shows, it is caching.

              bingo600B 1 Reply Last reply Reply Quote 0
              • bingo600B
                bingo600 @4o4rh
                last edited by

                @gwaitsi

                It really depends ...

                You have told it to forward , that could mean no cache lookups are allowed.
                It might still cache the lookups, when received. Just not allowed to use them.

                /Bingo

                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                pfSense+ 23.05.1 (ZFS)

                QOTOM-Q355G4 Quad Lan.
                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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