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

    DNS Unbound Questions

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 829 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.
    • G
      ghkrauss
      last edited by

      First the router is running Pfsense 2.3. I noted that the DNS Resolver (unbound) default install does not have the dns forwarder option checked. Does this imply that the dns root servers will not be checked if a name is not found in the unbound cache? Additionally, I read calomel.org discussion of unbound it indicated that if a name was not found in the cache the dns root was checked, then referred to the tld servers, on the the authoritative server and back to unbound. Is this how unbound works in Pfsense 2.3?

      I though potentially if a name was not found in the unbound cache it might go to the upstream ISP dns first and then to the root dns. Unbound sounds great. I am trying to understand its operation. It seems checking with the root dns makes a lot of sense.

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        It works just like the standard Unbound would in non-forwarding mode (in fact all non-forwarding resolution works the same). As an example a query for "www.example.tld" would first consult the root servers for NS records of top level domain ".tld", then query those nameservers for NS records of "example.tld" and finally query those nameservers for "www.example.tld". If any of the records are still in unbound's cache they will be used, otherwise the standard queries will be used to fetch them again.

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