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

    Sequential DNS Server Queries Option

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 2.1k 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.
    • N
      NOYB
      last edited by

      By default pfSense 2.0.1 queries all configured DNS servers simultaneously and uses the first response.  However, if the primary is nearly always the quickest to respond, the queries  to the other DNS servers is of little benefit.

      To change this behavior in pfSense 2.0.1 to query the specified DNS servers sequentially, the ‘strict-order’ option can be used in Services: DNS Forwarder – Advanced.

      For myself I’ve added a check box in System: General Setup – DNS Servers to add/remove the ‘strict-order‘ option.

      Attached is the /usr/local/www/system.php patch of my pfSense 2.0.1 system for the ‘strict-order’ option.

      Patches are intended as examples only.
      Patches are AS IS and Untested.
      Not for production use.
      Do NOT use in production environment.
      Use at your own risk.
      No support.
      By using this patch you agree to assume all liability.

      Patch file built with 
      2.0.1-RELEASE (i386)
      built on Mon Dec 12 18:24:17 EST 2011
      FreeBSD 8.1-RELEASE-p6

      Save Attached File:
      System.DNSForwarderStrictOrder.patch (.txt)

      Apply Patch:
      patch -p0 -i System.DNSForwarderStrictOrder.patch (.txt)

      ![DNS Forwarder Strict Order Option.jpg](/public/imported_attachments/1/DNS Forwarder Strict Order Option.jpg)
      ![DNS Forwarder Strict Order Option.jpg_thumb](/public/imported_attachments/1/DNS Forwarder Strict Order Option.jpg_thumb)
      System.DNSForwarderStrictOrder.patch.txt

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