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

    Where are the root DNS servers list?

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 3 Posters 2.6k 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.
    • K
      kfkehua
      last edited by

      Hi,
      By default I understand that PFSense use root servers to resolve queries. Where is the list of these root servers?
      Thank you.

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

        They are the root servers. If you don't know, they are [a-m].root-servers.net. You can also find them at https://www.internic.net/domain/named.cache or look them up automatically with the following command:

        dig +bufsize=1200 +norec NS . @a.root-servers.net
        

        Unbound uses its own compiled-in list which is generally the same as the above, but it can be replaced by a custom local copy.

        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
        • K
          kfkehua
          last edited by

          when you say compiled-in, means you cannot find them in a config file right? it's baked into their code?

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

            Yes, it's compiled in.

            But you can see it by running:

            unbound-control -c /var/unbound/unbound.conf lookup .
            

            If you're in resolver mode (the default) that will show you the roots it is using. If you're in forwarding mode that will show the forwarding servers.

            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
            • K
              kpa
              last edited by

              Unbound and other DNS forwarders/resolvers can use a separate file for root servers but since they change so rarely it's not worth it and the compiled-in list is sufficient.

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